summaryrefslogtreecommitdiff
path: root/ext/standard/tests/serialize/serialization_precision_001.phpt
blob: 0be0c68a89c2cec0f903fe8455b0a2f3bcf72497 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--TEST--
Test serialize_precision (part 1)
--INI--
serialize_precision=10
--FILE--
<?php
/* Prototype  : proto string serialize(mixed variable)
 * Description: Returns a string representation of variable (which can later be unserialized) 
 * Source code: ext/standard/var.c
 * Alias to functions: 
 */
/* Prototype  : proto mixed unserialize(string variable_representation)
 * Description: Takes a string representation of variable and recreates it 
 * Source code: ext/standard/var.c
 * Alias to functions: 
 */

var_dump(serialize(0.1));
?>
--EXPECT--
string(6) "d:0.1;"