Deprecated: Creation of dynamic property Obj::$hello is deprecated in /in/hN9eJ on line 6
object(Obj)#1 (1) {
["hello"]=>
string(5) "there"
}
object(A)#2 (1) {
["obj"]=>
object(Obj)#1 (1) {
["hello"]=>
string(5) "there"
}
}
Warning: serialize(): A::__sleep() should return an array only containing the names of instance-variables to serialize in /in/hN9eJ on line 39
Warning: serialize(): "hello => there
" returned as member variable from __sleep() but does not exist in /in/hN9eJ on line 39
object(Obj)#1 (1) {
["hello"]=>
string(5) "there"
}
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.33
object(Obj)#1 (1) {
["hello"]=>
string(5) "there"
}
object(A)#2 (1) {
["obj"]=>
object(Obj)#1 (1) {
["hello"]=>
string(5) "there"
}
}
Warning: serialize(): A::__sleep() should return an array only containing the names of instance-variables to serialize in /in/hN9eJ on line 39
Warning: serialize(): "hello => there
" returned as member variable from __sleep() but does not exist in /in/hN9eJ on line 39
object(Obj)#1 (1) {
["hello"]=>
string(5) "there"
}
object(Obj)#1 (1) {
["hello"]=>
string(5) "there"
}
object(A)#2 (1) {
["obj"]=>
object(Obj)#1 (1) {
["hello"]=>
string(5) "there"
}
}
Notice: serialize(): __sleep should return an array only containing the names of instance-variables to serialize. in /in/hN9eJ on line 39
Notice: serialize(): "hello => there
" returned as member variable from __sleep() but does not exist in /in/hN9eJ on line 39
object(Obj)#1 (1) {
["hello"]=>
string(5) "there"
}
object(Obj)#1 (1) {
["hello"]=>
string(5) "there"
}
object(A)#2 (1) {
["obj"]=>
object(Obj)#1 (1) {
["hello"]=>
string(5) "there"
}
}
Notice: serialize(): __sleep should return an array only containing the names of instance-variables to serialize. in /in/hN9eJ on line 39
Notice: serialize(): "hello => there
" returned as member variable from __sleep() but does not exist in /in/hN9eJ on line 39
string(15) "hello => there
"
Output for 5.4.0 - 5.4.45, 5.5.24 - 5.5.35
object(Obj)#1 (1) {
["hello"]=>
string(5) "there"
}
object(A)#2 (1) {
["obj"]=>
object(Obj)#1 (1) {
["hello"]=>
string(5) "there"
}
}
Notice: serialize(): __sleep should return an array only containing the names of instance-variables to serialize. in /in/hN9eJ on line 39
object(Obj)#1 (1) {
["hello"]=>
string(5) "there"
}
Parse error: syntax error, unexpected '[' in /in/hN9eJ on line 32
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[' in /in/hN9eJ on line 32
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/hN9eJ on line 4
Process exited with code 255.
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/hN9eJ on line 4
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /in/hN9eJ on line 4
Process exited with code 255.