/PHP-8.4/Zend/tests/ |
H A D | magic_methods_serialize.phpt | 2 __serialize declaration 6 static function __serialize($arguments) {} 10 Fatal error: Method Foo::__serialize() cannot take arguments in %s on line %d
|
H A D | serializable_deprecation.phpt | 17 public function __serialize(): array {} 23 Deprecated: %s implements the Serializable interface, which is deprecated. Implement __serialize() …
|
/PHP-8.4/Zend/tests/enum/ |
H A D | __serialize.phpt | 2 Enum __serialize 9 public function __serialize(): array { 16 Fatal error: Enum Foo cannot include magic method __serialize in %s on line %d
|
/PHP-8.4/Zend/tests/return_types/ |
H A D | 038.phpt | 2 __serialize can only declare array as return type 6 public function __serialize(): \stdClass {} 10 Fatal error: Foo::__serialize(): Return type must be array when declared in %s on line %d
|
/PHP-8.4/ext/standard/tests/serialize/ |
H A D | __serialize_002.phpt | 2 __serialize() mechanism (002): TypeError on invalid return type 7 public function __serialize() { 20 Test::__serialize() must return an array
|
H A D | __serialize_003.phpt | 2 __serialize() mechanism (003): Interoperability of different serialization mechanisms 15 public function __serialize() { 16 echo "__serialize() called\n"; 44 __serialize() called
|
H A D | __serialize_005.phpt | 2 __serialize() mechanism (005): parent::__unserialize() is safe 11 public function __serialize() { 25 public function __serialize() { 26 return [$this->data2, parent::__serialize()];
|
H A D | bug81111.phpt | 2 Bug #81111: Serialization is unexpectedly allowed on anonymous classes with __serialize() 7 public function __serialize() { return []; } 18 public function __serialize() { return []; }
|
H A D | __serialize_001.phpt | 2 __serialize() mechanism (001): Basics 9 public function __serialize() {
|
H A D | bug36424.phpt | 46 Deprecated: %s implements the Serializable interface, which is deprecated. Implement __serialize() … 48 Deprecated: %s implements the Serializable interface, which is deprecated. Implement __serialize() … 50 Deprecated: %s implements the Serializable interface, which is deprecated. Implement __serialize() …
|
/PHP-8.4/ext/spl/tests/ |
H A D | serialize_property_tables.phpt | 23 var_dump($x->__serialize()); 26 var_dump($x->__serialize()); 29 var_dump($x->__serialize());
|
H A D | bug45826.phpt | 34 public function __serialize(): array { 35 return parent::__serialize(); 53 $s2 = $o->__serialize();
|
/PHP-8.4/ext/sysvmsg/tests/ |
H A D | gh16592.phpt | 8 function __serialize() {} 19 Test::__serialize() must return an array
|
/PHP-8.4/ext/random/ |
H A D | random.stub.php | 52 public function __serialize(): array {} function in Random\\Engine\\Mt19937 72 public function __serialize(): array {} function in Random\\Engine\\PcgOneseq128XslRr64 96 public function __serialize(): array {} function in Random\\Engine\\Xoshiro256StarStar 154 public function __serialize(): array {} function in Random\\Randomizer
|
/PHP-8.4/ext/date/tests/ |
H A D | DateInterval_serialize-003.phpt | 2 Test DateInterval::__serialize and DateInterval::__unserialize 19 echo "\n\nCalling __serialize manually:\n"; 20 var_dump($d->__serialize()); 64 Calling __serialize manually:
|
H A D | DateTimeImmutable_serialization.phpt | 2 Test DateTimeImmutable::__serialize and DateTimeImmutable::__unserialize 20 echo "\n\nCalling __serialize manually:\n"; 21 var_dump($d->__serialize()); 80 Calling __serialize manually:
|
H A D | DateTime_serialization.phpt | 2 Test DateTime::__serialize and DateTime::__unserialize 20 echo "\n\nCalling __serialize manually:\n"; 21 var_dump($d->__serialize()); 80 Calling __serialize manually:
|
H A D | DateInterval_serialize-001.phpt | 2 Test DateInterval::__serialize and DateInterval::__unserialize 19 echo "\n\nCalling __serialize manually:\n"; 20 var_dump($d->__serialize()); 82 Calling __serialize manually:
|
H A D | DateTimeZone_serialization.phpt | 2 Test DateTimeZone::__serialize and DateTime::__unserialize 6 var_dump($tz->__serialize());
|
H A D | DateInterval_serialize-002.phpt | 2 Test DateInterval::__serialize and DateInterval::__unserialize 22 echo "\n\nCalling __serialize manually:\n"; 23 var_dump($d->__serialize()); 101 Calling __serialize manually:
|
H A D | DatePeriod_serialize-001.phpt | 2 Test DatePeriod::__serialize and DatePeriod::__unserialize (ISO String) 19 echo "\n\nCalling __serialize manually:\n"; 20 var_dump($d->__serialize()); 122 Calling __serialize manually:
|
/PHP-8.4/ext/json/tests/ |
H A D | json_encode_recursion_06.phpt | 10 public function __serialize() 25 public function __serialize()
|
/PHP-8.4/ext/dom/tests/ |
H A D | gh8996.phpt | 35 echo "=== __serialize and __unserialize ===\n"; 39 public function __serialize(): array 97 === __serialize and __unserialize === 110 … implements the Serializable interface, which is deprecated. Implement __serialize() and __unseria…
|
/PHP-8.4/Zend/tests/lazy_objects/ |
H A D | serialize___serialize_may_not_initialize.phpt | 2 Lazy objects: serialize() does not initialize object if __serialize does observe object state 8 public function __serialize() {
|
H A D | serialize___serialize_may_initialize.phpt | 2 Lazy objects: serialize() initializes object if __serialize observes object state 8 public function __serialize() {
|