Fatal error: Uncaught TypeError: preg_replace(): Argument #2 ($replacement) must be of type array|string, Closure given in /in/mj0ZJ:3
Stack trace:
#0 /in/mj0ZJ(3): preg_replace('#_([a-z])#', Object(Closure), 'abc_def_ghj')
#1 {main}
thrown in /in/mj0ZJ on line 3
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: preg_replace(): Argument #2 ($replacement) must be of type array|string, Closure given in /in/mj0ZJ:3
Stack trace:
#0 /in/mj0ZJ(3): preg_replace('#_([a-z])#', Object(Closure), 'abc_def_ghj')
#1 {main}
thrown in /in/mj0ZJ 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: preg_replace(): Argument #2 ($replacement) must be of type array|string, Closure given in /in/mj0ZJ:5
Stack trace:
#0 /in/mj0ZJ(5): preg_replace('#_([a-z])#', Object(Closure), 'abc_def_ghj')
#1 {main}
thrown in /in/mj0ZJ on line 5
Process exited with code 255.
Output for 7.4.0 - 7.4.33
Fatal error: Uncaught Error: Object of class Closure could not be converted to string in /in/mj0ZJ:5
Stack trace:
#0 /in/mj0ZJ(5): preg_replace('#_([a-z])#', Object(Closure), 'abc_def_ghj')
#1 {main}
thrown in /in/mj0ZJ on line 5
Process exited with code 255.