Annotation of embedaddon/php/ext/standard/tests/serialize/serialization_precision_002.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Test serialize_precision (part 2)
                      3: --INI--
                      4: serialize_precision=75
                      5: --FILE--
                      6: <?php
                      7: /* Prototype  : proto string serialize(mixed variable)
                      8:  * Description: Returns a string representation of variable (which can later be unserialized) 
                      9:  * Source code: ext/standard/var.c
                     10:  * Alias to functions: 
                     11:  */
                     12: /* Prototype  : proto mixed unserialize(string variable_representation)
                     13:  * Description: Takes a string representation of variable and recreates it 
                     14:  * Source code: ext/standard/var.c
                     15:  * Alias to functions: 
                     16:  */
                     17: 
                     18: var_dump(serialize(0.1));
                     19: ?>
                     20: --EXPECTF--
                     21: string(60) "d:0.1000000000000000055511151231257827021181583404541015625;"

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