Searched refs:serialize (Results 1 – 25 of 314) sorted by relevance
12345678910>>...13
2 Bug #27646 (Cannot serialize/unserialize non-finite numeric values)9 var_dump(serialize($f));10 var_dump(unserialize(serialize($f)));14 var_dump(serialize($f));15 var_dump(unserialize(serialize($f)));19 var_dump(serialize($f));20 var_dump(unserialize(serialize($f)));24 var_dump(serialize($f));25 var_dump(unserialize(serialize($f)));29 var_dump(serialize($f));[all …]
2 serialize()/unserialize()/var_dump()44 echo serialize(NULL)."\n";47 echo serialize(1)."\n";48 echo serialize(0)."\n";49 echo serialize(-1)."\n";53 echo serialize(1.0)."\n";54 echo serialize(0.0)."\n";55 echo serialize(-1.0)."\n";61 $data = serialize($t);67 $data = serialize($t);[all …]
13 serialize(new A());23 serialize(new B());27 Warning: serialize(): A::__sleep() should return an array only containing the names of instance-var…29 Warning: serialize(): B::__sleep() should return an array only containing the names of instance-var…31 Warning: serialize(): "1" returned as member variable from __sleep() but does not exist in %s on li…
2 serialize()/unserialize() with exotic letters14 var_dump(serialize($foo));15 var_dump(unserialize(serialize($foo)));16 var_dump(serialize($������));17 var_dump(unserialize(serialize($������)));
2 Test serialize() & unserialize() functions: objects - ensure that COW references of objects are not…7 var_dump(serialize(array($x, $x)));11 var_dump(serialize(array($x, $x)));15 var_dump(serialize(array($x, $x)));19 var_dump(serialize(array($x, $x)));23 var_dump(serialize(array($x, $x)));27 var_dump(serialize(array($x, $x)));
2 Bug #65481 (shutdown segfault due to serialize)11 public function serialize()22 return serialize(array(serialize($c)));33 $token = serialize($token);
2 Bug #55798 (serialize followed by unserialize with numeric object prop. gives integer prop)9 var_dump(serialize($a));11 $b = unserialize(serialize($a));12 var_dump(serialize($b));
21 var_dump(serialize($t));22 var_dump(unserialize(serialize($t)) == $t);25 var_dump(unserialize(serialize($t)) == $t);28 var_dump(unserialize(serialize($t)) == $t);31 var_dump(unserialize(serialize($t)) == $t);
21 $this->_serialized = serialize($this->_obj);29 $this->_serialized = serialize($this->_obj);56 echo "start serialize/unserialize" . PHP_EOL;57 $newList = unserialize(serialize($list));58 echo "finish serialize/unserialize" . PHP_EOL;79 start serialize/unserialize80 finish serialize/unserialize
20 var_dump(serialize(new Test));24 Warning: serialize(): "pub" returned as member variable from __sleep() but does not exist in %s on …26 Warning: serialize(): "prot" returned as member variable from __sleep() but does not exist in %s on…28 Warning: serialize(): "priv" returned as member variable from __sleep() but does not exist in %s on…
2 Bug #27469 (serialize() objects of incomplete class)8 echo serialize($obj)."\n";10 echo serialize($obj)."\n";
18 serialize(new bar());21 Warning: serialize(): bar::__sleep() should return an array only containing the names of instance-v…
2 Bug #64146 (serialize incorrectly saving objects when they are cloned)26 public function serialize()28 return serialize(clone $this->b);47 $a = unserialize(serialize(new A()));
2 serialize()/unserialize() floats in array.10 $str = serialize($a);16 $str = serialize(array(4.5));
2 Bug #14293 (serialize() and __sleep())22 $data = serialize($t);31 Warning: serialize(): "b" returned as member variable from __sleep() but does not exist in %s on li…
2 Lazy Objects: serialize with __sleep fetches property info from the real instance16 print "Init on serialize and successful initialization\n";23 var_dump(serialize($obj));25 print "Init on serialize and failed initialization\n";32 var_dump(serialize($obj));39 Init on serialize and successful initialization41 Init on serialize and failed initialization
2 json_encode() Recursion test with JsonSerializable and serialize17 return [ 'serialize' => serialize($this) ];32 return [ 'json' => serialize($this) ];37 var_dump(serialize(new SerializeFirstTest()));40 string(68) "{"serialize":"O:19:\"JsonEncodeFirstTest\":1:{s:6:\"result\";i:1;}"}"
16 function serialize()38 $ser = serialize(new Test($data));53 Test::serialize(String)66 Test::serialize()71 Test::serialize(42)72 Exception: Test::serialize() must return a string or NULL76 Test::serialize()77 Exception: Test::serialize() must return a string or NULL
2 GH-10907 (Unable to serialize processed SplFixedArrays in PHP 8.2.4)9 var_dump(serialize($array));10 var_dump(unserialize(serialize($array)));20 var_dump(serialize($array));21 var_dump(unserialize(serialize($array)));31 var_dump(serialize($array));32 var_dump(unserialize(serialize($array)));46 var_dump(serialize($array));47 var_dump(unserialize(serialize($array)));
2 Bug #70730 (Incorrect ArrayObject serialization if unset is called in serialize())14 public function serialize(): string17 $result = parent::serialize();28 $b->unserialize($a->serialize());
9 // serialize an empty new object10 $exp = serialize(new $type());15 // serialize result16 $out = serialize($obj);
6 public function serialize() {7 throw new Exception("serialize");18 serialize($data);25 string(9) "serialize"
10 if (!isset(self::$instances[$serialize = serialize($config)])) {11 self::$instances[$serialize] = new self($config);13 return self::$instances[$serialize];
11 serialize($doc);18 serialize($node);25 serialize($xpath);32 serialize($ns);39 serialize($dom);45 serialize(new Dom\XPath($dom));
2 Enum serialize10 echo serialize(Foo::Bar);
Completed in 20 milliseconds