Fatal error: Uncaught Error: Call to undefined method Foo::__set_state() in /in/A0jhI(11) : eval()'d code:1
Stack trace:
#0 /in/A0jhI(11): eval()
#1 {main}
thrown in /in/A0jhI(11) : eval()'d code on line 1
Process exited with code 255.
Fatal error: Call to undefined method Foo::__set_state() in /in/A0jhI(11) : eval()'d code on line 1
Process exited with code 255.
Output for 5.1.0 - 5.1.6, 5.2.0 - 5.2.2
<br />
<b>Fatal error</b>: Call to undefined method Foo::__set_state() in <b>/in/A0jhI(11) : eval()'d code</b> on line <b>1</b><br />
Process exited with code 255.
Output for 5.0.5
<br />
<b>Parse error</b>: parse error, unexpected T_CLASS in <b>/in/A0jhI(11) : eval()'d code</b> on line <b>1</b><br />
bool(false)
array (
' * bar' => NULL,
' Foo foo' => NULL,
)<br />
<b>Fatal error</b>: Cannot access property started with '\0' in <b>/in/A0jhI</b> on line <b>16</b><br />
Process exited with code 255.
<br />
<b>Parse error</b>: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in <b>/in/A0jhI</b> on line <b>5</b><br />
Process exited with code 255.
<br />
<b>Parse error</b>: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in <b>/in/A0jhI</b> on line <b>5</b><br />
Process exited with code 255.
Output for 4.3.2 - 4.3.4
<br />
<b>Parse error</b>: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in <b>/in/A0jhI</b> on line <b>5</b><br />
Process exited with code 255.