============================================================
a
object(A)#1 (3) {
["public"]=>
string(4) "test"
["private"]=>
string(4) "test"
["protected"]=>
string(4) "test"
}
NULL
============================================================
============================================================
b
object(B)#2 (0) {
}
NULL
============================================================
============================================================
c
object(C)#3 (3) {
["public"]=>
NULL
["private:private"]=>
NULL
["protected:protected"]=>
NULL
}
NULL
============================================================
============================================================
d
object(D)#4 (0) {
}
Notice: Undefined property: D::$public in /in/8dsar on line 65
NULL
============================================================
============================================================
e
object(E)#5 (3) {
["public"]=>
string(4) "test"
["private"]=>
string(4) "test"
["protected"]=>
string(4) "test"
}
string(4) "test"
============================================================
Output for 5.1.0 - 5.1.6, 5.2.0 - 5.2.5
============================================================
a
object(A)#1 (3) {
["public"]=>
string(4) "test"
["private"]=>
string(4) "test"
["protected"]=>
string(4) "test"
}
NULL
============================================================
============================================================
b
object(B)#2 (0) {
}
NULL
============================================================
============================================================
c
object(C)#3 (3) {
["public"]=>
NULL
["private:private"]=>
NULL
["protected:protected"]=>
NULL
}
NULL
============================================================
============================================================
d
object(D)#4 (0) {
}
Notice: Undefined property: D::$public in /in/8dsar on line 65
NULL
============================================================
============================================================
e
object(E)#5 (3) {
["public"]=>
string(4) "test"
["private"]=>
string(4) "test"
["protected"]=>
string(4) "test"
}
string(4) "test"
============================================================
Output for 5.0.0 - 5.0.5
Fatal error: Undefined class constant 'ARRAY_AS_PROPS' in /in/8dsar on line 10
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/8dsar 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/8dsar 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/8dsar on line 4
Process exited with code 255.