5
Fatal error: Uncaught exception 'ErrorException' with message 'Argument 1 passed to test() must be an instance of int, string given, called in /in/oEYJC on line 88 and defined' in /in/oEYJC:83
Stack trace:
#0 /in/oEYJC(83): Typehint::handleTypehint(4096, 'Argument 1 pass...', '/in/oEYJC', 83, Array)
#1 /in/oEYJC(88): test('5')
#2 {main}
thrown in /in/oEYJC on line 83
Process exited with code 255.
Output for 5.2.2 - 5.2.17
5
Fatal error: Uncaught exception 'ErrorException' with message 'Argument 1 passed to test() must be an instance of int, string given, called in /in/oEYJC on line 88 and defined' in /in/oEYJC:83
Stack trace:
#0 /in/oEYJC(83): Typehint::handleTypehint('5')
#1 /in/oEYJC(88): test()
#2 {main}
thrown in /in/oEYJC on line 83
Process exited with code 255.
Output for 5.2.0 - 5.2.1
Catchable fatal error: Argument 1 passed to test() must be an instance of int, integer given, called in /in/oEYJC on line 87 and defined in /in/oEYJC on line 83
Process exited with code 255.
Output for 5.1.0 - 5.1.6
Fatal error: Argument 1 passed to test() must be an object of class int, called in /in/oEYJC on line 87 and defined in /in/oEYJC on line 83
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Warning: set_error_handler() expects the argument (Typehint::handleTypehint) to be a valid callback in /in/oEYJC on line 22
Fatal error: Argument 1 must be an object of class int in /in/oEYJC on line 83
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/oEYJC on line 8
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/oEYJC on line 8
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/oEYJC on line 8
Process exited with code 255.