Fatal error: Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, MyClass given in /in/KQIYF:13
Stack trace:
#0 /in/KQIYF(13): array_map(Object(Closure), Object(MyClass))
#1 {main}
thrown in /in/KQIYF on line 13
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, MyClass given in /in/KQIYF:17
Stack trace:
#0 /in/KQIYF(17): array_map(Object(Closure), Object(MyClass))
#1 {main}
thrown in /in/KQIYF on line 17
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/KQIYF on line 17
Warning: array_map(): Argument #2 should be an array in /in/KQIYF on line 17
Output for 5.1.0 - 5.1.6, 5.2.0 - 5.2.17
Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /in/KQIYF on line 13
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_FUNCTION, expecting ')' in /in/KQIYF on line 13
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/KQIYF on line 5
Process exited with code 255.
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/KQIYF on line 5
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /in/KQIYF on line 5
Process exited with code 255.