Searched refs:unserialize (Results 1 – 25 of 141) sorted by relevance
123456
2 Bug #25378 (unserialize() crashes with invalid data)5 var_dump(unserialize("s:-1:\"\";"));6 var_dump(unserialize("i:823"));7 var_dump(unserialize("O:8:\"stdClass :0:{}"));8 var_dump(unserialize("O:8:\"stdClass\"+0:{}"));9 var_dump(unserialize("O:1000:\"stdClass\":0:{}"));10 var_dump(unserialize("a:2:{i:0;s:2:\"12\":"));14 var_dump(unserialize("s:3000:\"123\";"));15 var_dump(unserialize("s:3000:\"123"));16 var_dump(unserialize("s:3:\"123;"));[all …]
2 Bug #25378 (unserialize() crashes with invalid data)5 var_dump(unserialize('b:0;'));6 var_dump(unserialize('b:1;'));7 var_dump(unserialize('i:823;'));8 var_dump(unserialize('s:0:"";'));9 var_dump(unserialize('s:3:"foo";'));10 var_dump(unserialize('a:1:{i:0;s:2:"12";}'));11 var_dump(unserialize('a:2:{i:0;a:0:{}i:1;a:0:{}}'));12 var_dump(unserialize('a:3:{i:0;s:3:"foo";i:1;s:3:"bar";i:2;s:3:"baz";}'));13 var_dump(unserialize('O:8:"stdClass":0:{}'));
2 Test serialize() & unserialize() functions: error conditions - wrong number of args. 10 /* Prototype : proto mixed unserialize(string variable_representation)16 echo "*** Testing serialize()/unserialize() : error conditions ***\n";20 var_dump( unserialize() );24 var_dump( unserialize(1,2) );29 *** Testing serialize()/unserialize() : error conditions ***34 Warning: unserialize() expects exactly 1 parameter, 0 given in %s on line 1740 Warning: unserialize() expects exactly 1 parameter, 2 given in %s on line 21
2 serialize()/unserialize() objects53 function unserialize($serialized)86 function unserialize($serialized)104 var_dump(unserialize($ser));108 var_dump(unserialize($ser));112 var_dump(unserialize($ser));115 var_dump(unserialize('O:9:"TestNAOld":0:{}'));118 var_dump(unserialize('O:9:"TestNANew":0:{}'));121 var_dump(unserialize('C:10:"TestNANew2":0:{}'));149 TestNew::unserialize()[all …]
2 serialize()/unserialize() with exotic letters15 var_dump(unserialize(serialize($foo)));17 var_dump(unserialize(serialize($������)));
2 serialize()/unserialize() floats in array.12 $b = unserialize($str);18 $b = unserialize($str);
2 Bug #31442 (unserialize broken on 64-bit systems)7 echo unserialize(serialize(2147483648));
10 /* Prototype : proto mixed unserialize(string variable_representation)17 $o = unserialize('O:3:"FOO":0:{}');23 Warning: unserialize(): defined (Nonexistent) but not found in %s on line 14
2 Test serialize() & unserialize() functions: resources10 /* Prototype : proto mixed unserialize(string variable_representation)21 var_dump(unserialize($serialized_data));
10 /* Prototype : proto mixed unserialize(string variable_representation)18 $incomplete = unserialize($serialized);20 $complete = unserialize($serialized);93 …ion "C" of the object you are trying to operate on was loaded _before_ unserialize() gets called o…96 …ion "C" of the object you are trying to operate on was loaded _before_ unserialize() gets called o…98 …ion "C" of the object you are trying to operate on was loaded _before_ unserialize() gets called o…101 …ion "C" of the object you are trying to operate on was loaded _before_ unserialize() gets called o…104 …ion "C" of the object you are trying to operate on was loaded _before_ unserialize() gets called o…107 …ion "C" of the object you are trying to operate on was loaded _before_ unserialize() gets called o…110 …ion "C" of the object you are trying to operate on was loaded _before_ unserialize() gets called o…[all …]
2 Test serialize() & unserialize() functions: objects (abstract classes)12 /* Prototype : proto mixed unserialize(string variable_representation)45 $unserialize_data = unserialize($serialize_data);50 $unserialize_data = unserialize($serialize_data);
10 /* Prototype : proto mixed unserialize(string variable_representation)17 $a = unserialize($ser);19 $b = unserialize($ser);
7 $o = unserialize($d);20 …nknown" of the object you are trying to operate on was loaded _before_ unserialize() gets called o…22 …nknown" of the object you are trying to operate on was loaded _before_ unserialize() gets called o…25 …nknown" of the object you are trying to operate on was loaded _before_ unserialize() gets called o…
2 unserialize() floats with E notation (#18654)10 var_dump(unserialize($ser));
10 /* Prototype : proto mixed unserialize(string variable_representation)26 $o = unserialize('O:3:"FOO":0:{}');37 Warning: unserialize(): Function check() hasn't defined the class it was called for in %s on line 23
2 Test serialize() & unserialize() functions: arrays (circular references)12 /* Prototype : proto mixed unserialize(string variable_representation)24 $arr_circ = unserialize($serialize_data);33 $arr_asso = unserialize($serialize_data);
2 Bug #26762 (unserialize() produces lowercase classnames)19 @unserialize('O:3:"FOO":0:{}');
2 Bug #55798 (serialize followed by unserialize with numeric object prop. gives integer prop)11 $b = unserialize(serialize($a));
2 Bug #27646 (Cannot serialize/unserialize non-finite numeric values)10 var_dump(unserialize(serialize($f)));15 var_dump(unserialize(serialize($f)));20 var_dump(unserialize(serialize($f)));25 var_dump(unserialize(serialize($f)));30 var_dump(unserialize(serialize($f)));
2 Check that SplObjectStorage::unserialize returns NULL when non-string param is passed17 var_dump($s->unserialize($input));22 Warning: SplObjectStorage::unserialize() expects parameter 1 to be %binary_string_optional%, array …25 Warning: SplObjectStorage::unserialize() expects parameter 1 to be %binary_string_optional%, object…
2 ArrayObject: test that you cannot unserialize a empty string9 $a->unserialize("");14 #0 %s(%d): ArrayObject->unserialize('')
19 $o1 =unserialize($s1);25 $o2->unserialize($s2);38 public function unserialize($s) {39 return parent::unserialize($s);57 $o1 =unserialize($s1);63 $o2->unserialize($s2);
2 Check that SplObjectStorage::unserialize throws exception when NULL passed11 $s->unserialize(NULL);
34 public function unserialize($data) {42 $tmp = unserialize(serialize($obj));48 $db->exec("INSERT INTO test(myobj) VALUES ('Data fetched from DB to be given to unserialize()')");77 myclass::unserialize('Value from serialize()')82 myclass::unserialize('Data fetched from DB to be given to unserialize()')85 myclass::unserialize('Data fetched from DB to be given to unserialize()')90 myclass::unserialize('Data fetched from DB to be given to unserialize()')
72 public function unserialize($data) {96 var_dump(unserialize($myobj));98 …printf("\nUsing PDO::FETCH_CLASS|PDO::FETCH_SERIALIZE to fetch the object from DB and unserialize …104 printf("\nUsing PDO::FETCH_CLASS to fetch the object from DB and unserialize it...\n");131 myclass::unserialize('Data from serialize')137 Using PDO::FETCH_CLASS|PDO::FETCH_SERIALIZE to fetch the object from DB and unserialize it...138 myclass::unserialize('C:7:"myclass":19:{Data from serialize}')144 Using PDO::FETCH_CLASS to fetch the object from DB and unserialize it...
Completed in 25 milliseconds