Home
last modified time | relevance | path

Searched refs:__unserialize (Results 1 – 25 of 109) sorted by relevance

12345

/PHP-8.2/ext/date/tests/
H A DDateTime_serialization.phpt2 Test DateTime::__serialize and DateTime::__unserialize
23 echo "\n\nCalling __unserialize manually:\n";
25 $d->__unserialize(
34 echo "\n\nCalling __unserialize a few more times, with abbreviations:\n";
35 $d->__unserialize(
43 $d->__unserialize(
91 Calling __unserialize manually:
102 Calling __unserialize a few more times, with abbreviations:
H A DDateTimeImmutable_serialization.phpt2 Test DateTimeImmutable::__serialize and DateTimeImmutable::__unserialize
23 echo "\n\nCalling __unserialize manually:\n";
25 $d->__unserialize(
34 echo "\n\nCalling __unserialize a few more times, with abbreviations:\n";
35 $d->__unserialize(
43 $d->__unserialize(
91 Calling __unserialize manually:
102 Calling __unserialize a few more times, with abbreviations:
H A DDateTimeZone_serialization.phpt2 Test DateTimeZone::__serialize and DateTime::__unserialize
9 $tz->__unserialize(
17 $tz->__unserialize(
25 $tz->__unserialize(
H A Dbug-gh11416.phpt28 $dateperiod->__unserialize(['start' => $date]);
34 $dateperiod->__unserialize(['start' => $now, 'end' => $date]);
40 $dateperiod->__unserialize(['start' => $now, 'end' => $now, 'current' => $date]);
46 …$dateperiod->__unserialize(['start' => $now, 'end' => $now, 'current' => $now, 'interval' => $date…
52 $dateperiod->__unserialize([
56 echo "DatePeriod::__unserialize: SUCCESS\n";
69 DatePeriod::__unserialize: SUCCESS
H A DDateInterval_serialize-003.phpt2 Test DateInterval::__serialize and DateInterval::__unserialize
22 echo "\n\nCalling __unserialize manually:\n";
24 $d->__unserialize(
69 Calling __unserialize manually:
H A Ddate_period_unserialize2.phpt2 Test that calling DatePeriod::__unserialize() directly with missing arguments throws
12 $period->__unserialize(
H A Dbug66721.phpt2 Test for bug #66721: __unserialize of DateTime segfaults when invalid object data is supplied
13 #0 [internal function]: DateTime->__unserialize(Array)
H A DDateInterval_serialize-002.phpt2 Test DateInterval::__serialize and DateInterval::__unserialize
25 echo "\n\nCalling __unserialize manually:\n";
27 $d->__unserialize(
126 Calling __unserialize manually:
H A Ddate_period_unserialize1.phpt2 Test that DatePeriod::__unserialize() can be called directly
11 $period->__unserialize(
/PHP-8.2/Zend/tests/
H A Dmagic_methods_unserialize.phpt2 __unserialize declaration
6 static function __unserialize($data, $value) {}
10 Fatal error: Method Foo::__unserialize() must take exactly 1 argument in %s on line %d
H A Dmagic_methods_019.phpt2 __unserialize first parameter must be an array
6 public function __unserialize(string $name) {}
10 Fatal error: Foo::__unserialize(): Parameter #1 ($name) must be of type array when declared in %s o…
H A Dserializable_deprecation.phpt18 public function __unserialize(array $data) {}
23 …ializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or …
/PHP-8.2/Zend/tests/enum/
H A D__unserialize.phpt2 Enum __unserialize
9 public function __unserialize(array $data) {
16 Fatal error: Enum Foo cannot include magic method __unserialize in %s on line %d
/PHP-8.2/Zend/tests/return_types/
H A D039.phpt2 __unserialize can only declare void return
6 public function __unserialize(array $data): array {}
10 Fatal error: Foo::__unserialize(): Return type must be void when declared in %s on line %d
/PHP-8.2/ext/standard/tests/serialize/
H A D__serialize_005.phpt2 __serialize() mechanism (005): parent::__unserialize() is safe
14 public function __unserialize(array $data) {
28 public function __unserialize(array $payload) {
30 parent::__unserialize($data);
H A D__serialize_004.phpt2 __serialize() mechanism (004): Delayed __unserialize() calls
28 public function __unserialize(array $data) {
30 echo "__unserialize() called\n";
43 __unserialize() called
57 __unserialize() called
H A D__serialize_003.phpt20 public function __unserialize(array $data) {
21 echo "__unserialize() called\n";
46 __unserialize() called
H A D__serialize_006.phpt2 Failure while parsing data array for __unserialize()
7 public function __unserialize(array $data) { }
H A Dbug36424.phpt46 …ializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or …
48 …ializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or …
50 …ializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or …
/PHP-8.2/ext/random/
H A Drandom.stub.php52 public function __unserialize(array $data): void {} function in Random\\Engine\\Mt19937
73 public function __unserialize(array $data): void {} function in Random\\Engine\\PcgOneseq128XslRr64
97 public function __unserialize(array $data): void {} function in Random\\Engine\\Xoshiro256StarStar
148 public function __unserialize(array $data): void {} function in Random\\Randomizer
H A Drandom_arginfo.h125 ZEND_METHOD(Random_Engine_Mt19937, __unserialize);
140 ZEND_METHOD(Random_Randomizer, __unserialize);
161 …ZEND_ME(Random_Engine_Mt19937, __unserialize, arginfo_class_Random_Engine_Mt19937___unserialize, Z…
172 …ZEND_MALIAS(Random_Engine_Mt19937, __unserialize, __unserialize, arginfo_class_Random_Engine_PcgOn…
184 …ZEND_MALIAS(Random_Engine_Mt19937, __unserialize, __unserialize, arginfo_class_Random_Engine_Xoshi…
216 …ZEND_ME(Random_Randomizer, __unserialize, arginfo_class_Random_Randomizer___unserialize, ZEND_ACC_…
/PHP-8.2/ext/spl/tests/
H A DSplObjectStorage_unserialize_reference.phpt2 SPL: Test that __unserialize converts references to non-references
10 $s->__unserialize([$x, []]);
H A Dbug45826.phpt38 public function __unserialize($s): void {
39 parent::__unserialize($s);
63 $o2->__unserialize($s2);
/PHP-8.2/ext/dom/tests/
H A Dgh8996.phpt35 echo "=== __serialize and __unserialize ===\n";
44 public function __unserialize(array $data): void
97 === __serialize and __unserialize ===
110 …ializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or …
/PHP-8.2/ext/hash/tests/
H A Dhash_serialize_004.phpt9 $ctx->__unserialize($ctx->__serialize());
36 HashContext::__unserialize called on initialized object

Completed in 22 milliseconds

12345