Home
last modified time | relevance | path

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

123

/PHP-8.1/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() …
H A Dbug64354.phpt24 Deprecated: B implements the Serializable interface, which is deprecated. Implement __serialize() a…
/PHP-8.1/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.1/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.phpt45 Deprecated: %s implements the Serializable interface, which is deprecated. Implement __serialize() …
47 Deprecated: %s implements the Serializable interface, which is deprecated. Implement __serialize() …
49 Deprecated: %s implements the Serializable interface, which is deprecated. Implement __serialize() …
H A D__serialize_004.phpt2 __serialize() mechanism (004): Delayed __unserialize() calls
23 public function __serialize() {
H A Dserialization_objects_010.phpt23 Deprecated: %s implements the Serializable interface, which is deprecated. Implement __serialize() …
H A Dref_to_failed_serialize.phpt22 Deprecated: %s implements the Serializable interface, which is deprecated. Implement __serialize() …
H A D005.phpt131 Deprecated: %s implements the Serializable interface, which is deprecated. Implement __serialize() …
156 Deprecated: %s implements the Serializable interface, which is deprecated. Implement __serialize() …
165 Deprecated: %s implements the Serializable interface, which is deprecated. Implement __serialize() …
H A Dbug64354_3.phpt29 Deprecated: %s implements the Serializable interface, which is deprecated. Implement __serialize() …
/PHP-8.1/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();
H A DArrayObject__serialize_saves_iterator_class.phpt2 ArrayObject::__serialize saves any iterator class set by ::setIteratorClass
/PHP-8.1/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.1/ext/spl/
H A Dspl_array.stub.php61 public function __serialize(): array {} function in ArrayObject
192 public function __serialize(): array {} function in ArrayIterator
H A Dspl_dllist.stub.php92 public function __serialize(): array {} function in SplDoublyLinkedList
/PHP-8.1/Zend/tests/enum/
H A Dno-implement-serializable.phpt22 Deprecated: %s implements the Serializable interface, which is deprecated. Implement __serialize() …
H A Dno-implement-serializable-indirect.phpt24 Deprecated: %s implements the Serializable interface, which is deprecated. Implement __serialize() …
/PHP-8.1/Zend/tests/traits/
H A Dinterface_003.phpt24 Deprecated: %s implements the Serializable interface, which is deprecated. Implement __serialize() …
/PHP-8.1/ext/reflection/tests/
H A DReflectionMethod_getModifiers_basic.phpt65 public function __serialize() {}
177 Modifiers for method TestClass::__serialize():
265 Modifiers for method TestClass::__serialize():

Completed in 22 milliseconds

123