Fatal error: Uncaught TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, class "strtoupper" not found in /in/OGqFu:53
Stack trace:
#0 /in/OGqFu(53): call_user_func(Array, 'hello')
#1 [internal function]: Bar\PipeInterface@anonymous->Bar\{closure}('hello', Array)
#2 /in/OGqFu(52): array_reduce(Array, Object(Closure), 'hello')
#3 /in/OGqFu(59): Bar\PipeInterface@anonymous->process('hello')
#4 /in/OGqFu(88): Bar\PipeInterface@anonymous->__invoke('hello')
#5 {main}
thrown in /in/OGqFu on line 53
Process exited with code 255.
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Fatal error: Uncaught TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, class "strtoupper" not found in /in/OGqFu:53
Stack trace:
#0 /in/OGqFu(53): call_user_func(Array, 'hello')
#1 [internal function]: Bar\PipeInterface@anonymous->Bar\{closure}('hello', Array)
#2 /in/OGqFu(52): array_reduce(Array, Object(Closure), 'hello')
#3 /in/OGqFu(59): Bar\PipeInterface@anonymous->process('hello')
#4 /in/OGqFu(88): Bar\PipeInterface@anonymous->__invoke('hello')
#5 {main}
thrown in /in/OGqFu on line 53
Process exited with code 255.
Warning: call_user_func() expects parameter 1 to be a valid callback, class 'strtoupper' not found in /in/OGqFu on line 53
Warning: call_user_func() expects parameter 1 to be a valid callback, class 'strtoupper' not found in /in/OGqFu on line 53
Output for 5.5.0 - 5.5.37, 5.6.0 - 5.6.28
Parse error: syntax error, unexpected 'class' (T_CLASS) in /in/OGqFu on line 14
Process exited with code 255.