Fatal error: Uncaught TypeError: {closure}(): Argument #2 must be of type float, array given, called in /in/BPmgq on line 12 and defined in /in/BPmgq:5
Stack trace:
#0 /in/BPmgq(12): {closure}(0, Array)
#1 /in/BPmgq(15): sum(1.0, 2.0, 3.0, 4.0)
#2 {main}
thrown in /in/BPmgq on line 5
Process exited with code 255.
Output for 8.0.0 - 8.0.30
Fatal error: Uncaught TypeError: {closure}(): Argument #2 must be of type float, array given, called in /in/BPmgq on line 12 and defined in /in/BPmgq:5
Stack trace:
#0 /in/BPmgq(12): {closure}(0, Array)
#1 /in/BPmgq(15): sum(1, 2, 3, 4)
#2 {main}
thrown in /in/BPmgq on line 5
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 2 passed to {closure}() must be of the type float, array given, called in /in/BPmgq on line 12 and defined in /in/BPmgq:5
Stack trace:
#0 /in/BPmgq(12): {closure}(0, Array)
#1 /in/BPmgq(15): sum(1, 2, 3, 4)
#2 {main}
thrown in /in/BPmgq on line 5
Process exited with code 255.
Output for 5.6.8 - 5.6.28
Parse error: syntax error, unexpected ':', expecting '{' in /in/BPmgq on line 3
Process exited with code 255.
Output for 5.5.24 - 5.5.35
Parse error: syntax error, unexpected '.', expecting '&' or variable (T_VARIABLE) in /in/BPmgq on line 3
Process exited with code 255.