Array
(
[0] => MyClass Object
(
[prop] => test1
)
[2] => MyClass Object
(
[prop] => test2
)
)
Fatal error: Uncaught Error: Object of class MyClass could not be converted to string in /in/iuT8c:19
Stack trace:
#0 {main}
thrown in /in/iuT8c on line 19
Process exited with code 255.
Array
(
[0] => MyClass Object
(
[prop] => test1
)
[2] => MyClass Object
(
[prop] => test2
)
)
Recoverable fatal error: Object of class MyClass could not be converted to string in /in/iuT8c on line 19
Process exited with code 255.
Array
(
[0] => MyClass Object
(
[prop] => test1
)
[2] => MyClass Object
(
[prop] => test2
)
)
Catchable fatal error: Object of class MyClass could not be converted to string in /in/iuT8c on line 19
Process exited with code 255.
Output for 5.2.0 - 5.2.8
Warning: Wrong parameter count for array_unique() in /in/iuT8c on line 17
Catchable fatal error: Object of class MyClass could not be converted to string in /in/iuT8c on line 19
Process exited with code 255.
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6
Warning: Wrong parameter count for array_unique() in /in/iuT8c on line 17
Object id #1
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/iuT8c 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/iuT8c 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/iuT8c on line 4
Process exited with code 255.