/PHP-8.4/ext/date/tests/ |
H A D | DateTimeImmutable_serialization.phpt | 2 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 D | DateTime_serialization.phpt | 2 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 D | DateTimeZone_serialization.phpt | 2 Test DateTimeZone::__serialize and DateTime::__unserialize 9 $tz->__unserialize( 17 $tz->__unserialize( 25 $tz->__unserialize(
|
H A D | bug-gh11416.phpt | 28 $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 D | DateInterval_serialize-003.phpt | 2 Test DateInterval::__serialize and DateInterval::__unserialize 22 echo "\n\nCalling __unserialize manually:\n"; 24 $d->__unserialize( 73 Calling __unserialize manually:
|
H A D | date_period_unserialize2.phpt | 2 Test that calling DatePeriod::__unserialize() directly with missing arguments throws 12 $period->__unserialize(
|
H A D | bug66721.phpt | 2 Test for bug #66721: __unserialize of DateTime segfaults when invalid object data is supplied 13 #0 [internal function]: DateTime->__unserialize(Array)
|
H A D | DateInterval_serialize-002.phpt | 2 Test DateInterval::__serialize and DateInterval::__unserialize 25 echo "\n\nCalling __unserialize manually:\n"; 27 $d->__unserialize( 126 Calling __unserialize manually:
|
H A D | date_interval_set_state_error1.phpt | 2 Test that DateInterval::__unserialize() doesn't modify state in case of a date_string format error 11 $interval->__unserialize(
|
H A D | date_period_unserialize1.phpt | 2 Test that DatePeriod::__unserialize() can be called directly 11 $period->__unserialize(
|
H A D | date_period_unserialize3.phpt | 2 Test that calling DatePeriod::__unserialize() directly with wrong argument type throws 12 $period->__unserialize(
|
/PHP-8.4/Zend/tests/ |
H A D | magic_methods_unserialize.phpt | 2 __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 D | magic_methods_019.phpt | 2 __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 D | serializable_deprecation.phpt | 18 public function __unserialize(array $data) {} 23 …ializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or …
|
/PHP-8.4/Zend/tests/enum/ |
H A D | __unserialize.phpt | 2 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.4/Zend/tests/return_types/ |
H A D | 039.phpt | 2 __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.4/ext/standard/tests/serialize/ |
H A D | __serialize_005.phpt | 2 __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.phpt | 2 __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.phpt | 20 public function __unserialize(array $data) { 21 echo "__unserialize() called\n"; 46 __unserialize() called
|
H A D | __serialize_006.phpt | 2 Failure while parsing data array for __unserialize() 7 public function __unserialize(array $data) { }
|
H A D | bug36424.phpt | 46 …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.4/ext/random/ |
H A D | random.stub.php | 54 public function __unserialize(array $data): void {} function in Random\\Engine\\Mt19937 75 public function __unserialize(array $data): void {} function in Random\\Engine\\PcgOneseq128XslRr64 99 public function __unserialize(array $data): void {} function in Random\\Engine\\Xoshiro256StarStar 156 public function __unserialize(array $data): void {} function in Random\\Randomizer
|
/PHP-8.4/ext/spl/tests/SplObjectStorage/ |
H A D | SplObjectStorage_unserialize_reference.phpt | 2 SPL: Test that __unserialize converts references to non-references 10 $s->__unserialize([$x, []]);
|
/PHP-8.4/ext/dom/tests/ |
H A D | gh8996.phpt | 35 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.4/ext/spl/tests/ |
H A D | bug45826.phpt | 38 public function __unserialize($s): void { 39 parent::__unserialize($s); 63 $o2->__unserialize($s2);
|