bool(false)
bool(false)
Fatal error: Uncaught TypeError: test(): Argument #1 ($callable) must be of type callable, array given, called in /in/7HC7m on line 22 and defined in /in/7HC7m:18
Stack trace:
#0 /in/7HC7m(22): test(Array)
#1 {main}
thrown in /in/7HC7m on line 18
Process exited with code 255.
bool(false)
bool(true)
Fatal error: Uncaught TypeError: Argument 1 passed to test() must be callable, array given, called in /in/7HC7m on line 22 and defined in /in/7HC7m:18
Stack trace:
#0 /in/7HC7m(22): test(Array)
#1 {main}
thrown in /in/7HC7m on line 18
Process exited with code 255.
Output for 5.5.24 - 5.5.35, 5.6.8 - 5.6.28
bool(false)
bool(true)
Catchable fatal error: Argument 1 passed to test() must be callable, array given, called in /in/7HC7m on line 22 and defined in /in/7HC7m on line 18
Process exited with code 255.
Output for 5.4.1 - 5.4.45
Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /in/7HC7m on line 11
Process exited with code 255.