test
Fatal error: Uncaught ArgumentCountError: substr() expects at least 2 arguments, 1 given in /in/X9293:8
Stack trace:
#0 /in/X9293(8): substr('[spoiler]')
#1 [internal function]: {closure}(Array)
#2 /in/X9293(5): preg_replace_callback('/\\[(.*?)\\]/', Object(Closure), '[spoiler]Test\nt...')
#3 {main}
thrown in /in/X9293 on line 8
Process exited with code 255.
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28
test
Fatal error: Uncaught ArgumentCountError: substr() expects at least 2 arguments, 1 given in /in/X9293:8
Stack trace:
#0 /in/X9293(8): substr('[spoiler]')
#1 [internal function]: {closure}(Array)
#2 /in/X9293(15): preg_replace_callback('/\\[(.*?)\\]/', Object(Closure), '[spoiler]Test\nt...')
#3 {main}
thrown in /in/X9293 on line 8
Process exited with code 255.
test
Warning: substr() expects at least 2 parameters, 1 given in /in/X9293 on line 8
test
Warning: substr() expects at least 2 parameters, 1 given in /in/X9293 on line 8
[spoiler][/spoiler]Test
testing[spoiler][/spoiler].