Fatal error: Uncaught TypeError: Test::function1(): Return value must be of type array, string returned in /in/tmS7K:6
Stack trace:
#0 /in/tmS7K(12): Test->function1()
#1 {main}
thrown in /in/tmS7K on line 6
Process exited with code 255.
Fatal error: Uncaught TypeError: Return value of Test::function1() must be of the type array, string returned in /in/tmS7K:6
Stack trace:
#0 /in/tmS7K(12): Test->function1()
#1 {main}
thrown in /in/tmS7K on line 6
Process exited with code 255.
Output for 5.5.24 - 5.5.35, 5.6.8 - 5.6.28
Parse error: syntax error, unexpected ':', expecting ';' or '{' in /in/tmS7K on line 5
Process exited with code 255.