Home
last modified time | relevance | path

Searched refs:needle (Results 1 – 9 of 9) sorted by relevance

/template/strap/vendor/symfony/polyfill-php80/
H A DPhp80.php91 public static function str_contains(string $haystack, string $needle): bool argument
93 return '' === $needle || false !== strpos($haystack, $needle);
96 public static function str_starts_with(string $haystack, string $needle): bool argument
98 return 0 === strncmp($haystack, $needle, \strlen($needle));
101 public static function str_ends_with(string $haystack, string $needle): bool argument
103 if ('' === $needle || $needle === $haystack) {
111 $needleLength = \strlen($needle);
113 …return $needleLength <= \strlen($haystack) && 0 === substr_compare($haystack, $needle, -$needleLen…
H A Dbootstrap.php29 … str_contains(?string $haystack, ?string $needle): bool { return p\Php80::str_contains($haystack ?… argument
32 …starts_with(?string $haystack, ?string $needle): bool { return p\Php80::str_starts_with($haystack … argument
35 …tr_ends_with(?string $haystack, ?string $needle): bool { return p\Php80::str_ends_with($haystack ?… argument
/template/twigstarter/vendor/symfony/polyfill-mbstring/
Dbootstrap.php64 …function mb_strpos($haystack, $needle, $offset = 0, $encoding = null) { return p\Mbstring::mb_strp… argument
79 …function mb_stripos($haystack, $needle, $offset = 0, $encoding = null) { return p\Mbstring::mb_str… argument
82 …on mb_stristr($haystack, $needle, $before_needle = false, $encoding = null) { return p\Mbstring::m… argument
85 …on mb_strrchr($haystack, $needle, $before_needle = false, $encoding = null) { return p\Mbstring::m… argument
88 …n mb_strrichr($haystack, $needle, $before_needle = false, $encoding = null) { return p\Mbstring::m… argument
91 …nction mb_strripos($haystack, $needle, $offset = 0, $encoding = null) { return p\Mbstring::mb_strr… argument
94 …function mb_strrpos($haystack, $needle, $offset = 0, $encoding = null) { return p\Mbstring::mb_str… argument
97 …tion mb_strstr($haystack, $needle, $before_needle = false, $encoding = null) { return p\Mbstring::… argument
109 …unction mb_substr_count($haystack, $needle, $encoding = null) { return p\Mbstring::mb_substr_count… argument
Dbootstrap80.php60 …, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { return p\Mbstring::mb_… argument
75 …, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { return p\Mbstring::mb_… argument
78 …g $needle, ?bool $before_needle = false, ?string $encoding = null): string|false { return p\Mbstri… argument
81 …g $needle, ?bool $before_needle = false, ?string $encoding = null): string|false { return p\Mbstri… argument
84 …g $needle, ?bool $before_needle = false, ?string $encoding = null): string|false { return p\Mbstri… argument
87 … ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { return p\Mbstring::mb_s… argument
90 …, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { return p\Mbstring::mb_… argument
93 …ng $needle, ?bool $before_needle = false, ?string $encoding = null): string|false { return p\Mbstr… argument
105 …$haystack, ?string $needle, ?string $encoding = null): int { return p\Mbstring::mb_substr_count((s… argument
DMbstring.php494 public static function mb_strpos($haystack, $needle, $offset = 0, $encoding = null) argument
498 return strpos($haystack, $needle, $offset);
501 $needle = (string) $needle;
502 if ('' === $needle) {
512 return \iconv_strpos($haystack, $needle, $offset, $encoding);
515 public static function mb_strrpos($haystack, $needle, $offset = 0, $encoding = null) argument
519 return strrpos($haystack, $needle, $offset);
526 if (0 > $offset += self::mb_strlen($needle)) {
535 $pos = '' !== $needle || 80000 > \PHP_VERSION_ID
536 ? \iconv_strrpos($haystack, $needle, $encoding)
[all …]
/template/strap/vendor/symfony/polyfill-mbstring/
H A Dbootstrap.php64 …function mb_strpos($haystack, $needle, $offset = 0, $encoding = null) { return p\Mbstring::mb_strp… argument
79 …function mb_stripos($haystack, $needle, $offset = 0, $encoding = null) { return p\Mbstring::mb_str… argument
82 …on mb_stristr($haystack, $needle, $before_needle = false, $encoding = null) { return p\Mbstring::m… argument
85 …on mb_strrchr($haystack, $needle, $before_needle = false, $encoding = null) { return p\Mbstring::m… argument
88 …n mb_strrichr($haystack, $needle, $before_needle = false, $encoding = null) { return p\Mbstring::m… argument
91 …nction mb_strripos($haystack, $needle, $offset = 0, $encoding = null) { return p\Mbstring::mb_strr… argument
94 …function mb_strrpos($haystack, $needle, $offset = 0, $encoding = null) { return p\Mbstring::mb_str… argument
97 …tion mb_strstr($haystack, $needle, $before_needle = false, $encoding = null) { return p\Mbstring::… argument
109 …unction mb_substr_count($haystack, $needle, $encoding = null) { return p\Mbstring::mb_substr_count… argument
H A DMbstring.php518 public static function mb_strpos($haystack, $needle, $offset = 0, $encoding = null) argument
522 return strpos($haystack, $needle, $offset);
525 $needle = (string) $needle;
526 if ('' === $needle) {
536 return iconv_strpos($haystack, $needle, $offset, $encoding);
539 public static function mb_strrpos($haystack, $needle, $offset = 0, $encoding = null) argument
543 return strrpos($haystack, $needle, $offset);
550 if (0 > $offset += self::mb_strlen($needle)) {
559 $pos = '' !== $needle || 80000 > \PHP_VERSION_ID
560 ? iconv_strrpos($haystack, $needle, $encoding)
[all …]
H A Dbootstrap80.php60 …, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { return p\Mbstring::mb_… argument
75 …, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { return p\Mbstring::mb_… argument
78 …g $needle, ?bool $before_needle = false, ?string $encoding = null): string|false { return p\Mbstri… argument
81 …g $needle, ?bool $before_needle = false, ?string $encoding = null): string|false { return p\Mbstri… argument
84 …g $needle, ?bool $before_needle = false, ?string $encoding = null): string|false { return p\Mbstri… argument
87 … ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { return p\Mbstring::mb_s… argument
90 …, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { return p\Mbstring::mb_… argument
93 …ng $needle, ?bool $before_needle = false, ?string $encoding = null): string|false { return p\Mbstr… argument
105 …$haystack, ?string $needle, ?string $encoding = null): int { return p\Mbstring::mb_substr_count((s… argument
/template/strap/ComboStrap/
H A DStringUtility.php50 public static function contain($needle, $haystack) argument
52 $pos = strpos($haystack, $needle);
234 public static function lastIndexOf($haystack, $needle) argument
240 return strrpos($haystack, $needle);