This commit is contained in:
Dante
2026-05-21 23:40:20 -07:00
parent 3e2915dff7
commit 877a69d844
5737 changed files with 29796 additions and 1589684 deletions

View File

@ -60,4 +60,12 @@ namespace { //Namespace declaration is required because this file is included un
}
}
/**
* @see https://www.php.net/manual/en/function.str-starts-with.php
*/
if (!function_exists('str_starts_with')) {
function str_starts_with($str, $start) {
return (@substr_compare($str, $start, 0, strlen($start))==0);
}
}
}