Fatal error: Uncaught TypeError: reduce(): Argument #3 ($reducer) must be of type callback, Closure given, called in /in/4iIs6 on line 7 and defined in /in/4iIs6:3
Stack trace:
#0 /in/4iIs6(7): reduce(1, 2, Object(Closure))
#1 {main}
thrown in /in/4iIs6 on line 3
Process exited with code 255.
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28
Fatal error: Uncaught TypeError: reduce(): Argument #3 ($reducer) must be of type callback, Closure given, called in /in/4iIs6 on line 9 and defined in /in/4iIs6:3
Stack trace:
#0 /in/4iIs6(9): reduce(1, 2, Object(Closure))
#1 {main}
thrown in /in/4iIs6 on line 3
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 3 passed to reduce() must be an instance of callback, instance of Closure given, called in /in/4iIs6 on line 9 and defined in /in/4iIs6:3
Stack trace:
#0 /in/4iIs6(9): reduce(1, 2, Object(Closure))
#1 {main}
thrown in /in/4iIs6 on line 3
Process exited with code 255.