Fatal error: Uncaught TypeError: array_map(): Argument #1 ($callback) must be a valid callback or null, non-static method a::b() cannot be called statically in /in/tjOhK:15
Stack trace:
#0 /in/tjOhK(15): array_map(Array, Array)
#1 {main}
thrown in /in/tjOhK on line 15
Process exited with code 255.
Output for 8.0.0 - 8.0.30
Fatal error: Uncaught TypeError: array_map(): Argument #1 ($callback) must be a valid callback, non-static method a::b() cannot be called statically in /in/tjOhK:15
Stack trace:
#0 /in/tjOhK(15): array_map(Array, Array)
#1 {main}
thrown in /in/tjOhK on line 15
Process exited with code 255.
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; a has a deprecated constructor in /in/tjOhK on line 5
Deprecated: array_map() expects parameter 1 to be a valid callback, non-static method a::b() should not be called statically in /in/tjOhK on line 15
Array
(
[0] => ax
[1] => bx
)
Output for 7.3.32 - 7.3.33
Deprecated: array_map() expects parameter 1 to be a valid callback, non-static method a::b() should not be called statically in /in/tjOhK on line 15
Array
(
[0] => ax
[1] => bx
)
Strict Standards: array_map() expects parameter 1 to be a valid callback, non-static method a::b() should not be called statically in /in/tjOhK on line 15
Array
(
[0] => ax
[1] => bx
)
Output for 5.1.2 - 5.1.6, 5.2.0 - 5.2.17
Strict Standards: Non-static method a::b() cannot be called statically in /in/tjOhK on line 15
Strict Standards: Non-static method a::b() cannot be called statically in /in/tjOhK on line 15
Strict Standards: Non-static method a::b() cannot be called statically in /in/tjOhK on line 15
Array
(
[0] => ax
[1] => bx
)
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.1
Strict Standards: Non-static method a::b() cannot be called statically in /in/tjOhK on line 15
Strict Standards: Non-static method a::b() cannot be called statically in /in/tjOhK on line 15
Array
(
[0] => ax
[1] => bx
)