Exception in /in/SsAsJ:20
Stack trace:
#0 [internal function]: Test->foo()
#1 /in/SsAsJ(21): call_user_func(Array)
#2 /in/SsAsJ(25): Test->callFoo('call_user_func')
#3 {main}
Fatal error: Uncaught TypeError: userland_call_user_func(): Argument #1 ($function) must be of type callable, array given, called in /in/SsAsJ on line 21 and defined in /in/SsAsJ:3
Stack trace:
#0 /in/SsAsJ(21): userland_call_user_func(Array)
#1 /in/SsAsJ(26): Test->callFoo('userland_call_u...')
#2 {main}
thrown in /in/SsAsJ on line 3
Process exited with code 255.
Exception in /in/SsAsJ:20
Stack trace:
#0 [internal function]: Test->foo()
#1 /in/SsAsJ(21): call_user_func(Array)
#2 /in/SsAsJ(25): Test->callFoo('call_user_func')
#3 {main}
Fatal error: Uncaught TypeError: Argument 1 passed to userland_call_user_func() must be callable, array given, called in /in/SsAsJ on line 21 and defined in /in/SsAsJ:3
Stack trace:
#0 /in/SsAsJ(21): userland_call_user_func(Array)
#1 /in/SsAsJ(26): Test->callFoo('userland_call_u...')
#2 {main}
thrown in /in/SsAsJ on line 3
Process exited with code 255.
Output for 5.6.0 - 5.6.38
exception 'Exception' in /in/SsAsJ:20
Stack trace:
#0 [internal function]: Test->foo()
#1 /in/SsAsJ(21): call_user_func(Array)
#2 /in/SsAsJ(25): Test->callFoo('call_user_func')
#3 {main}
Catchable fatal error: Argument 1 passed to userland_call_user_func() must be callable, array given, called in /in/SsAsJ on line 21 and defined in /in/SsAsJ on line 3
Process exited with code 255.
Output for 5.4.0 - 5.4.45, 5.5.0 - 5.5.38
Parse error: syntax error, unexpected '.', expecting '&' or variable (T_VARIABLE) in /in/SsAsJ on line 3
Process exited with code 255.