Home
last modified time | relevance | path

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

12345

/PHP-8.4/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.4/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.4/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.4/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.4/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.4/ext/sysvmsg/tests/
H A Dgh16592.phpt8 function __serialize() {}
19 Test::__serialize() must return an array
/PHP-8.4/ext/random/
H A Drandom.stub.php52 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 DDateInterval_serialize-003.phpt2 Test DateInterval::__serialize and DateInterval::__unserialize
19 echo "\n\nCalling __serialize manually:\n";
20 var_dump($d->__serialize());
64 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 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 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:
/PHP-8.4/ext/json/tests/
H A Djson_encode_recursion_06.phpt10 public function __serialize()
25 public function __serialize()
/PHP-8.4/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…
/PHP-8.4/Zend/tests/lazy_objects/
H A Dserialize___serialize_may_not_initialize.phpt2 Lazy objects: serialize() does not initialize object if __serialize does observe object state
8 public function __serialize() {
H A Dserialize___serialize_may_initialize.phpt2 Lazy objects: serialize() initializes object if __serialize observes object state
8 public function __serialize() {

Completed in 28 milliseconds

12345