Home
last modified time | relevance | path

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

12

/php-src/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())
14 function __sleep()
16 echo "__sleep called\n";
29 __sleep called
31 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 Warning: 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 Warning: 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.phpt31 function __sleep()
33 echo "__sleep called\n";
101 __sleep called
/php-src/Zend/tests/enum/
H A D__sleep.phpt2 Enum __sleep
9 public function __sleep(): array {
16 Fatal error: Enum Foo cannot include magic method __sleep in %s on line %d
/php-src/Zend/tests/magic_methods/
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
/php-src/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-src/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-src/Zend/tests/lazy_objects/
H A Dserialize___sleep_skip_flag.phpt2 Lazy objects: serialize does not initializes object with __sleep method if flag is set
8 public function __sleep() {
H A Dserialize___sleep_initializes.phpt2 Lazy objects: serialize initializes object by default if the __sleep method is used
8 public function __sleep() {
H A Dserialize___sleep.phpt2 Lazy Objects: serialize with __sleep fetches property info from the real instance
9 function __sleep() {
H A Dserialize___sleep_skip_flag_may_initialize.phpt2 Lazy objects: __sleep initializes object if it observes object state, even with SKIP_INITIALIZATION…
8 public function __sleep() {
H A Doss_fuzz_71446.phpt8 function __sleep() {
/php-src/ext/dom/tests/
H A Dgh8996.phpt8 echo "=== __sleep and __wakeup ===\n";
14 public function __sleep(): array
83 === __sleep and __wakeup ===

Completed in 21 milliseconds

12