Home
last modified time | relevance | path

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

12

/PHP-8.0/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 Dmagic_methods_inheritance_rules.phpt20 public function __serialize(): array {}
/PHP-8.0/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.0/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 D__serialize_001.phpt2 __serialize() mechanism (001): Basics
9 public function __serialize() {
H A D__serialize_004.phpt2 __serialize() mechanism (004): Delayed __unserialize() calls
23 public function __serialize() {
H A Dbug78438.phpt10 public function __serialize()
/PHP-8.0/ext/spl/
H A Dspl_array.stub.php61 public function __serialize() {} function in ArrayObject
192 public function __serialize() {} function in ArrayIterator
H A Dspl_dllist.stub.php92 public function __serialize() {} function in SplDoublyLinkedList
H A Dspl_array_arginfo.h162 ZEND_METHOD(ArrayObject, __serialize);
199 ZEND_ME(ArrayObject, __serialize, arginfo_class_ArrayObject___serialize, ZEND_ACC_PUBLIC)
229 …ZEND_MALIAS(ArrayObject, __serialize, __serialize, arginfo_class_ArrayIterator___serialize, ZEND_A…
H A Dspl_observer.stub.php104 public function __serialize() {} function in SplObjectStorage
H A Dspl_dllist_arginfo.h102 ZEND_METHOD(SplDoublyLinkedList, __serialize);
131 …ZEND_ME(SplDoublyLinkedList, __serialize, arginfo_class_SplDoublyLinkedList___serialize, ZEND_ACC_…
H A Dspl_observer_arginfo.h139 ZEND_METHOD(SplObjectStorage, __serialize);
192 ZEND_ME(SplObjectStorage, __serialize, arginfo_class_SplObjectStorage___serialize, ZEND_ACC_PUBLIC)
/PHP-8.0/ext/spl/tests/
H A Dbug45826.phpt34 public function __serialize() {
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.0/ext/reflection/tests/
H A DReflectionMethod_getModifiers_basic.phpt65 public function __serialize() {}
177 Modifiers for method TestClass::__serialize():
265 Modifiers for method TestClass::__serialize():
/PHP-8.0/ext/hash/tests/
H A Dhash_serialize_004.phpt9 $ctx->__unserialize($ctx->__serialize());
/PHP-8.0/ext/hash/
H A Dhash_arginfo.h164 ZEND_METHOD(HashContext, __serialize);
205 ZEND_ME(HashContext, __serialize, arginfo_class_HashContext___serialize, ZEND_ACC_PUBLIC)
H A Dhash.stub.php53 public function __serialize(): array {} function in HashContext
/PHP-8.0/Zend/
H A Dzend.h143 zend_function *__serialize; member
H A Dzend_inheritance.c172 if (EXPECTED(!ce->__serialize)) { in do_inherit_parent_constructor()
173 ce->__serialize = parent->__serialize; in do_inherit_parent_constructor()
/PHP-8.0/ext/opcache/
H A Dzend_persist.c1094 if (ce->__serialize) { in zend_update_parent_ce()
1095 zend_function *tmp = zend_shared_alloc_get_xlat_entry(ce->__serialize); in zend_update_parent_ce()
1097 ce->__serialize = tmp; in zend_update_parent_ce()
/PHP-8.0/ext/standard/
H A Dvar.c749 Z_OBJCE_P(obj)->__serialize, Z_OBJ_P(obj), retval); in php_var_serialize_call_magic_serialize()
995 if (ce->__serialize) { in php_var_serialize_intern()

Completed in 39 milliseconds

12