Home
last modified time | relevance | path

Searched refs:__sleep (Results 1 – 25 of 33) sorted by relevance

12

/PHP-8.1/ext/standard/tests/serialize/
H A Dbug35895.phpt2 Bug #35895 (__sleep and private property)
7 public function __sleep() {
14 public function __sleep() {
15 return array_merge(array("child"), parent::__sleep());
24 Warning: serialize(): "parents" returned as member variable from __sleep() but does not exist in %s…
H A Dbug79526.phpt2 Bug #79526 (`__sleep` error message doesn't include the name of the class)
7 public function __sleep() {
17 public function __sleep() {
27 Warning: serialize(): A::__sleep() should return an array only containing the names of instance-var…
29 Warning: serialize(): B::__sleep() should return an array only containing the names of instance-var…
31 Warning: serialize(): "1" returned as member variable from __sleep() but does not exist in %s on li…
H A Dbug14293.phpt2 Bug #14293 (serialize() and __sleep())
12 function __sleep()
14 echo "__sleep called\n";
27 __sleep called
29 Warning: serialize(): "b" returned as member variable from __sleep() but does not exist in %s on li…
H A Dsleep_undefined_declared_properties.phpt2 __sleep() returning undefined declared properties
15 public function __sleep() {
24 Warning: serialize(): "pub" returned as member variable from __sleep() but does not exist in %s on …
26 Warning: serialize(): "prot" returned as member variable from __sleep() but does not exist in %s on…
28 Warning: serialize(): "priv" returned as member variable from __sleep() but does not exist in %s on…
H A Dbug81163.phpt2 Test __sleep returns non-array
12 public function __sleep()
21 Warning: serialize(): bar::__sleep() should return an array only containing the names of instance-v…
H A Dsleep_mangled_name_clash.phpt2 __sleep() returns properties clashing only after mangling
7 public function __sleep() {
15 Notice: serialize(): "priv" is returned from __sleep() multiple times in %s on line %d
H A Dbug71995.phpt2 Bug #71995 (Returning the same var twice from __sleep() produces broken serialized data)
11 public function __sleep() {
21 Notice: serialize(): "b" is returned from __sleep() multiple times in %s on line %d
H A Dbug69210.phpt2 serialize() integrity with non string on __sleep
9 public function __sleep()
19 public function __sleep()
H A Dsleep_deref.phpt2 __sleep() can return references
8 public function __sleep() {
H A Dbug73154.phpt2 Bug #73154: serialize object with __sleep function crash
7 public function __sleep() {
H A Dbug21957.phpt2 Bug #21957 (serialize() mangles objects with __sleep)
15 function __sleep()
H A Dsleep_uninitialized_typed_prop.phpt2 Referencing an uninitialized typed property in __sleep() should be skipped
11 public function __sleep() {
H A D__serialize_003.phpt7 public function __sleep() {
8 echo "__sleep() called\n";
H A D001.phpt29 function __sleep()
31 echo "__sleep called\n";
99 __sleep called
H A D005.phpt60 function __sleep()
93 function __sleep()
133 TestOld::__sleep()
H A Dbug64354_3.phpt6 public function __sleep() {
H A Dbug65806.phpt27 public function __sleep()
/PHP-8.1/Zend/tests/
H A Dmagic_methods_sleep.phpt2 __sleep cannot take arguments
6 public function __sleep(string $name) {}
10 Fatal error: Method Foo::__sleep() cannot take arguments in %s on line %d
H A Dbug30791.phpt2 Bug #30791 (magic methods (__sleep/__wakeup/__toString) call __call if object is overloaded)
/PHP-8.1/Zend/tests/return_types/
H A D040.phpt2 __sleep can only declare return as array
6 public function __sleep(): bool|int {}
10 Fatal error: Foo::__sleep(): Return type must be array when declared in %s on line %d
/PHP-8.1/tests/classes/
H A Dbug26737.phpt2 …Protected and private variables are not saved on serialization when a user defined __sleep is used)
11 public function __sleep()
21 Warning: serialize(): "no_such" returned as member variable from __sleep() but does not exist in %s…
H A Dprivate_members_serialization.phpt2 Verifies that it is possible to return private member names of parent classes in __sleep
14 public function __sleep()
/PHP-8.1/ext/dom/tests/
H A Dgh8996.phpt8 echo "=== __sleep and __wakeup ===\n";
14 public function __sleep(): array
83 === __sleep and __wakeup ===
/PHP-8.1/ext/session/tests/
H A Dbug53141.phpt16 function __sleep()
/PHP-8.1/ext/reflection/tests/
H A DReflectionMethod_getModifiers_basic.phpt57 public function __sleep() {}
161 Modifiers for method TestClass::__sleep():
249 Modifiers for method TestClass::__sleep():

Completed in 32 milliseconds

12