Deprecated functions explode() and boolean cast after introduction PHP 8