Home
last modified time | relevance | path

Searched refs:__serialize (Results 1 – 25 of 95) sorted by relevance

1234

/PHP-8.2/Zend/tests/
H A Dmagic_methods_serialize.phpt2 __serialize declaration
6 static function __serialize($arguments) {}
10 Fatal error: Method Foo::__serialize() cannot take arguments in %s on line %d
H A Dserializable_deprecation.phpt17 public function __serialize(): array {}
23 Deprecated: %s implements the Serializable interface, which is deprecated. Implement __serialize() …
/PHP-8.2/Zend/tests/enum/
H A D__serialize.phpt2 Enum __serialize
9 public function __serialize(): array {
16 Fatal error: Enum Foo cannot include magic method __serialize in %s on line %d
/PHP-8.2/Zend/tests/return_types/
H A D038.phpt2 __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.2/ext/standard/tests/serialize/
H A D__serialize_002.phpt2 __serialize() mechanism (002): TypeError on invalid return type
7 public function __serialize() {
20 Test::__serialize() must return an array
H A D__serialize_003.phpt2 __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.phpt2 __serialize() mechanism (005): parent::__unserialize() is safe
11 public function __serialize() {
25 public function __serialize() {
26 return [$this->data2, parent::__serialize()];
H A Dbug81111.phpt2 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.phpt2 __serialize() mechanism (001): Basics
9 public function __serialize() {
H A Dbug36424.phpt46 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.2/ext/spl/tests/
H A Dserialize_property_tables.phpt23 var_dump($x->__serialize());
26 var_dump($x->__serialize());
29 var_dump($x->__serialize());
H A Dbug45826.phpt34 public function __serialize(): array {
35 return parent::__serialize();
53 $s2 = $o->__serialize();
/PHP-8.2/ext/random/
H A Drandom.stub.php50 public function __serialize(): array {} function in Random\\Engine\\Mt19937
70 public function __serialize(): array {} function in Random\\Engine\\PcgOneseq128XslRr64
94 public function __serialize(): array {} function in Random\\Engine\\Xoshiro256StarStar
146 public function __serialize(): array {} function in Random\\Randomizer
H A Drandom_arginfo.h124 ZEND_METHOD(Random_Engine_Mt19937, __serialize);
139 ZEND_METHOD(Random_Randomizer, __serialize);
160 …ZEND_ME(Random_Engine_Mt19937, __serialize, arginfo_class_Random_Engine_Mt19937___serialize, ZEND_…
171 …ZEND_MALIAS(Random_Engine_Mt19937, __serialize, __serialize, arginfo_class_Random_Engine_PcgOneseq…
183 …ZEND_MALIAS(Random_Engine_Mt19937, __serialize, __serialize, arginfo_class_Random_Engine_Xoshiro25…
215 …ZEND_ME(Random_Randomizer, __serialize, arginfo_class_Random_Randomizer___serialize, ZEND_ACC_PUBL…
/PHP-8.2/ext/sysvmsg/tests/
H A Dgh16592.phpt8 function __serialize() {}
19 Test::__serialize() must return an array
/PHP-8.2/ext/date/tests/
H A DDateTime_serialization.phpt2 Test DateTime::__serialize and DateTime::__unserialize
20 echo "\n\nCalling __serialize manually:\n";
21 var_dump($d->__serialize());
80 Calling __serialize manually:
H A DDateTimeImmutable_serialization.phpt2 Test DateTimeImmutable::__serialize and DateTimeImmutable::__unserialize
20 echo "\n\nCalling __serialize manually:\n";
21 var_dump($d->__serialize());
80 Calling __serialize manually:
H A DDateInterval_serialize-003.phpt2 Test DateInterval::__serialize and DateInterval::__unserialize
19 echo "\n\nCalling __serialize manually:\n";
20 var_dump($d->__serialize());
60 Calling __serialize manually:
H A DDateInterval_serialize-001.phpt2 Test DateInterval::__serialize and DateInterval::__unserialize
19 echo "\n\nCalling __serialize manually:\n";
20 var_dump($d->__serialize());
82 Calling __serialize manually:
H A DDateTimeZone_serialization.phpt2 Test DateTimeZone::__serialize and DateTime::__unserialize
6 var_dump($tz->__serialize());
H A DDateInterval_serialize-002.phpt2 Test DateInterval::__serialize and DateInterval::__unserialize
22 echo "\n\nCalling __serialize manually:\n";
23 var_dump($d->__serialize());
101 Calling __serialize manually:
H A DDatePeriod_serialize-001.phpt2 Test DatePeriod::__serialize and DatePeriod::__unserialize (ISO String)
19 echo "\n\nCalling __serialize manually:\n";
20 var_dump($d->__serialize());
122 Calling __serialize manually:
H A DDatePeriod_serialize-002.phpt2 Test DatePeriod::__serialize and DatePeriod::__unserialize (start/end)
22 echo "\n\nCalling __serialize manually:\n";
23 var_dump($d->__serialize());
144 Calling __serialize manually:
H A DDatePeriod_serialize-003.phpt2 Test DatePeriod::__serialize and DatePeriod::__unserialize (start/end)
22 echo "\n\nCalling __serialize manually:\n";
23 var_dump($d->__serialize());
144 Calling __serialize manually:
/PHP-8.2/ext/dom/tests/
H A Dgh8996.phpt35 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…

Completed in 21 milliseconds

1234