Annotation of embedaddon/php/ext/standard/tests/serialize/bug23298.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Bug #23298 (serialize() and floats/doubles)
        !             3: --INI--
        !             4: serialize_precision=100
        !             5: --FILE--
        !             6: <?php 
        !             7:        ini_set('precision', 12);
        !             8:        $foo = 1.428571428571428647642857142;
        !             9:        $bar = unserialize(serialize($foo));
        !            10:        var_dump(($foo === $bar));
        !            11: ?>
        !            12: --EXPECT--
        !            13: bool(true)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>