Fatal error: Uncaught TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, class "strtoupper" not found in /in/G5fdt:54
Stack trace:
#0 /in/G5fdt(54): call_user_func(Array, 'hello')
#1 [internal function]: Bar\PipeInterface@anonymous->Bar\{closure}('hello', Array)
#2 /in/G5fdt(53): array_reduce(Array, Object(Closure), 'hello')
#3 /in/G5fdt(60): Bar\PipeInterface@anonymous->process('hello')
#4 /in/G5fdt(89): Bar\PipeInterface@anonymous->__invoke('hello')
#5 {main}
thrown in /in/G5fdt on line 54
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/G5fdt:54
Stack trace:
#0 /in/G5fdt(54): call_user_func(Array, 'hello')
#1 [internal function]: Bar\PipeInterface@anonymous->Bar\{closure}('hello', Array)
#2 /in/G5fdt(53): array_reduce(Array, Object(Closure), 'hello')
#3 /in/G5fdt(60): Bar\PipeInterface@anonymous->process('hello')
#4 /in/G5fdt(89): Bar\PipeInterface@anonymous->__invoke('hello')
#5 {main}
thrown in /in/G5fdt on line 54
Process exited with code 255.
Warning: call_user_func() expects parameter 1 to be a valid callback, class 'strtoupper' not found in /in/G5fdt on line 54
Warning: call_user_func() expects parameter 1 to be a valid callback, class 'strtoupper' not found in /in/G5fdt on line 54
Output for 5.5.0 - 5.5.37, 5.6.0 - 5.6.28
Parse error: syntax error, unexpected 'class' (T_CLASS) in /in/G5fdt on line 14
Process exited with code 255.