Fatal error: Uncaught TypeError: ucfirst(): Argument #1 ($string) must be of type string, array given in /in/M2oDJ:4
Stack trace:
#0 /in/M2oDJ(4): ucfirst(Array)
#1 [internal function]: {closure}(Array)
#2 /in/M2oDJ(3): preg_replace_callback('#_([a-z])#', Object(Closure), 'abc_def_ghj')
#3 {main}
thrown in /in/M2oDJ on line 4
Process exited with code 255.
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28
Fatal error: Uncaught TypeError: ucfirst(): Argument #1 ($string) must be of type string, array given in /in/M2oDJ:4
Stack trace:
#0 /in/M2oDJ(4): ucfirst(Array)
#1 [internal function]: {closure}(Array)
#2 /in/M2oDJ(5): preg_replace_callback('#_([a-z])#', Object(Closure), 'abc_def_ghj')
#3 {main}
thrown in /in/M2oDJ on line 4
Process exited with code 255.
Warning: ucfirst() expects parameter 1 to be string, array given in /in/M2oDJ on line 4
Warning: ucfirst() expects parameter 1 to be string, array given in /in/M2oDJ on line 4
abcefhj