Lines Matching refs:unserialize
2 Test unserialize(): error is indistinguishable from deserialized boolean
10 /* Prototype : proto mixed unserialize(string variable_representation)
16 echo "*** Testing unserialize() error/boolean distinction ***\n";
23 $deserialized_garbage = unserialize($garbage);
26 $deserialized_false = unserialize($serialized_false);
29 echo "unserialize error and deserialized false are identical? " . (bool) ($deserialized_false == $d…
33 return ($str == serialize(false) || @unserialize($str) !== false);
36 // Test unserialize error idiom
43 *** Testing unserialize() error/boolean distinction ***
46 Notice: unserialize(): Error at offset 0 of 27 bytes in %s%eserialization_error_002.php on line 20
49 unserialize error and deserialized false are identical? 1