Fatal error: Uncaught ArgumentCountError: strpos() expects at least 2 arguments, 1 given in /in/LdN5V:14
Stack trace:
#0 /in/LdN5V(14): strpos(':')
#1 [internal function]: {closure}('hello : 6')
#2 /in/LdN5V(7): array_map(Object(Closure), Array)
#3 {main}
thrown in /in/LdN5V on line 14
Process exited with code 255.
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28
Fatal error: Uncaught ArgumentCountError: strpos() expects at least 2 arguments, 1 given in /in/LdN5V:14
Stack trace:
#0 /in/LdN5V(14): strpos(':')
#1 [internal function]: {closure}('hello : 6')
#2 /in/LdN5V(18): array_map(Object(Closure), Array)
#3 {main}
thrown in /in/LdN5V on line 14
Process exited with code 255.
Warning: strpos() expects at least 2 parameters, 1 given in /in/LdN5V on line 14
Warning: strpos() expects at least 2 parameters, 1 given in /in/LdN5V on line 15
Warning: strpos() expects at least 2 parameters, 1 given in /in/LdN5V on line 14
Warning: strpos() expects at least 2 parameters, 1 given in /in/LdN5V on line 15
Warning: strpos() expects at least 2 parameters, 1 given in /in/LdN5V on line 14
Warning: strpos() expects at least 2 parameters, 1 given in /in/LdN5V on line 15
array(1) {
[""]=>
string(9) "foo : bar"
}
Output for 5.2.3 - 5.2.17
Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /in/LdN5V on line 8
Process exited with code 255.