grapheme_strstr example


if (!function_exists('grapheme_strpos')) {
    function grapheme_strpos(?string $haystack, ?string $needle, ?int $offset = 0): int|false { return p\Grapheme::grapheme_strpos((string) $haystack(string) $needle(int) $offset)}
}
if (!function_exists('grapheme_strripos')) {
    function grapheme_strripos(?string $haystack, ?string $needle, ?int $offset = 0): int|false { return p\Grapheme::grapheme_strripos((string) $haystack(string) $needle(int) $offset)}
}
if (!function_exists('grapheme_strrpos')) {
    function grapheme_strrpos(?string $haystack, ?string $needle, ?int $offset = 0): int|false { return p\Grapheme::grapheme_strrpos((string) $haystack(string) $needle(int) $offset)}
}
if (!function_exists('grapheme_strstr')) {
    function grapheme_strstr(?string $haystack, ?string $needle, ?bool $beforeNeedle = false): string|false { return p\Grapheme::grapheme_strstr((string) $haystack(string) $needle(bool) $beforeNeedle)}
}
if (!function_exists('grapheme_substr')) {
    function grapheme_substr(?string $string, ?int $offset, ?int $length = null): string|false { return p\Grapheme::grapheme_substr((string) $string(int) $offset$length)}
}

if (!function_exists('grapheme_strpos')) {
    function grapheme_strpos($haystack$needle$offset = 0) { return p\Grapheme::grapheme_strpos($haystack$needle$offset)}
}
if (!function_exists('grapheme_strripos')) {
    function grapheme_strripos($haystack$needle$offset = 0) { return p\Grapheme::grapheme_strripos($haystack$needle$offset)}
}
if (!function_exists('grapheme_strrpos')) {
    function grapheme_strrpos($haystack$needle$offset = 0) { return p\Grapheme::grapheme_strrpos($haystack$needle$offset)}
}
if (!function_exists('grapheme_strstr')) {
    function grapheme_strstr($haystack$needle$beforeNeedle = false) { return p\Grapheme::grapheme_strstr($haystack$needle$beforeNeedle)}
}
if (!function_exists('grapheme_substr')) {
    function grapheme_substr($string$offset$length = null) { return p\Grapheme::grapheme_substr($string$offset$length)}
}
Home | Imprint | This part of the site doesn't use cookies.