Searched refs:__sleep (Results 1 – 25 of 39) sorted by relevance
12
2 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…
2 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…
2 Bug #14293 (serialize() and __sleep())14 function __sleep()16 echo "__sleep called\n";29 __sleep called31 Warning: serialize(): "b" returned as member variable from __sleep() but does not exist in %s on li…
2 __sleep() returning undefined declared properties15 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…
2 Test __sleep returns non-array12 public function __sleep()21 Warning: serialize(): bar::__sleep() should return an array only containing the names of instance-v…
2 __sleep() returns properties clashing only after mangling7 public function __sleep() {15 Warning: serialize(): "priv" is returned from __sleep() multiple times in %s on line %d
2 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
2 serialize() integrity with non string on __sleep9 public function __sleep()19 public function __sleep()
2 __sleep() can return references8 public function __sleep() {
2 Bug #73154: serialize object with __sleep function crash7 public function __sleep() {
2 Bug #21957 (serialize() mangles objects with __sleep)15 function __sleep()
2 Referencing an uninitialized typed property in __sleep() should be skipped11 public function __sleep() {
7 public function __sleep() {8 echo "__sleep() called\n";
31 function __sleep()33 echo "__sleep called\n";101 __sleep called
2 Enum __sleep9 public function __sleep(): array {16 Fatal error: Enum Foo cannot include magic method __sleep in %s on line %d
2 __sleep cannot take arguments6 public function __sleep(string $name) {}10 Fatal error: Method Foo::__sleep() cannot take arguments in %s on line %d
2 __sleep can only declare return as array6 public function __sleep(): bool|int {}10 Fatal error: Foo::__sleep(): Return type must be array when declared in %s on line %d
2 …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…
2 Verifies that it is possible to return private member names of parent classes in __sleep14 public function __sleep()
2 Lazy objects: serialize does not initializes object with __sleep method if flag is set8 public function __sleep() {
2 Lazy objects: serialize initializes object by default if the __sleep method is used8 public function __sleep() {
2 Lazy Objects: serialize with __sleep fetches property info from the real instance9 function __sleep() {
2 Lazy objects: __sleep initializes object if it observes object state, even with SKIP_INITIALIZATION…8 public function __sleep() {
8 function __sleep() {
8 echo "=== __sleep and __wakeup ===\n";14 public function __sleep(): array83 === __sleep and __wakeup ===
Completed in 25 milliseconds