Fatal error: Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, Generator given in /in/74VZY:3
Stack trace:
#0 /in/74VZY(3): array_map(Object(Closure), Object(Generator))
#1 {main}
thrown in /in/74VZY 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: array_map(): Argument #2 ($array) must be of type array, Generator given in /in/74VZY:8
Stack trace:
#0 /in/74VZY(8): array_map(Object(Closure), Object(Generator))
#1 {main}
thrown in /in/74VZY on line 8
Process exited with code 255.
Output for 7.3.0 - 7.3.33, 7.4.0 - 7.4.33
Warning: array_map(): Expected parameter 2 to be an array, object given in /in/74VZY on line 8
NULL