Searched refs:serialize (Results 1 – 25 of 195) sorted by relevance
12345678
2 serialize()/unserialize()/var_dump()42 echo serialize(NULL)."\n";45 echo serialize(1)."\n";46 echo serialize(0)."\n";47 echo serialize(-1)."\n";51 echo serialize(1.0)."\n";52 echo serialize(0.0)."\n";53 echo serialize(-1.0)."\n";59 $data = serialize($t);65 $data = serialize($t);[all …]
2 Test serialize() & unserialize() functions: error conditions - wrong number of args.5 /* Prototype : proto string serialize(mixed variable)16 echo "*** Testing serialize()/unserialize() : error conditions ***\n";19 var_dump( serialize() );22 //Test serialize with one more than the expected number of arguments23 var_dump( serialize(1,2) );29 *** Testing serialize()/unserialize() : error conditions ***31 Warning: serialize() expects exactly 1 parameter, 0 given in %s on line 1637 Warning: serialize() expects exactly 1 parameter, 2 given in %s on line 20
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 Bug #65481 (shutdown segfault due to serialize)12 public function serialize()23 return serialize(array(serialize($c)));34 $token = serialize($token);
2 Test serialize() & unserialize() functions: objects - ensure that COW references of objects are not…5 /* Prototype : proto string serialize(mixed variable)18 var_dump(serialize(array($x, $x)));22 var_dump(serialize(array($x, $x)));26 var_dump(serialize(array($x, $x)));30 var_dump(serialize(array($x, $x)));34 var_dump(serialize(array($x, $x)));38 var_dump(serialize(array($x, $x)));
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 $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
2 Bug #64146 (serialize incorrectly saving objects when they are cloned)28 public function serialize()30 return serialize(clone $this->b);49 $a = unserialize(serialize(new A()));
2 Bug #27469 (serialize() objects of incomplete class)8 echo serialize($obj)."\n";10 echo serialize($obj)."\n";
5 /* Prototype : proto string serialize(mixed variable)17 public function serialize() {26 var_dump(serialize(new C));34 C::serialize() must return a string or NULL
2 References to objects for which Serializable::serialize() returned NULL should use N;7 public function serialize() {17 var_dump($s = serialize($data));
20 var_dump(serialize(new Test));24 Notice: serialize(): "pub" returned as member variable from __sleep() but does not exist in %s on l…26 Notice: serialize(): "prot" returned as member variable from __sleep() but does not exist in %s on …28 Notice: serialize(): "priv" returned as member variable from __sleep() but does not exist in %s on …
2 serialize()/unserialize() floats in array.10 $str = serialize($a);16 $str = serialize(array(4.5));
2 Bug #14293 (serialize() and __sleep())20 $data = serialize($t);29 Notice: serialize(): "b" returned as member variable from __sleep() but does not exist in %sbug1429…
2 serialize() integrity with non string on __sleep28 $ss = @serialize($cs);31 $si = @serialize($ci);
2 Bug #23298 (serialize() and floats/doubles)9 $bar = unserialize(serialize($foo));
2 serialize()/unserialize() objects45 function serialize()71 function serialize()100 var_dump($ser = serialize(new TestOld));104 var_dump($ser = serialize(new TestNew));108 var_dump($ser = serialize(new TestNew));140 TestNew::serialize()144 TestNew::serialize()
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 …]
16 function serialize()38 $ser = serialize(new Test($data));54 Test::serialize(String)67 Test::serialize()72 Test::serialize(42)73 Exception: Test::serialize() must return a string or NULL77 Test::serialize()78 Exception: Test::serialize() must return a string or NULL
6 public function serialize() {7 throw new Exception("serialize");18 serialize($data);24 string(9) "serialize"
10 if (!isset(self::$instances[$serialize = serialize($config)])) {11 self::$instances[$serialize] = new self($config);13 return self::$instances[$serialize];
2 Bug #70730 (Incorrect ArrayObject serialization if unset is called in serialize())14 public function serialize()17 $result = parent::serialize();28 $b->unserialize($a->serialize());
9 // serialize an empty new object10 $exp = serialize(new $type());15 // serialize result16 $out = serialize($obj);
14 $s1 = serialize($o);15 $s2 = $o->serialize();34 public function serialize() {35 return parent::serialize();52 $s1 = serialize($o);53 $s2 = $o->serialize();
17 var_dump(serialize($v));28 var_dump(serialize($v));38 var_dump(serialize($v));48 var_dump(serialize($v));58 var_dump(serialize($v));68 var_dump(serialize($v));78 var_dump(serialize($v));
Completed in 27 milliseconds