From manual page: https://php.net/function.substr
In example #2 under the length parameter the following line is stated:
$rest = substr("abcdef", 4, -4); // gibt false zurück
This is wrong as the correct return value now is "".
The correct line should be:
$rest = substr("abcdef", 4, -4); // gibt "" zurück; vor PHP 8.0.0 wurde false zurückgegeben
From manual page: https://php.net/function.substr
In example #2 under the
lengthparameter the following line is stated:This is wrong as the correct return value now is
"".The correct line should be: