Home
last modified time | relevance | path

Searched refs:haystack (Results 1 – 10 of 10) 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) {
107 if ('' === $haystack) {
113 …return $needleLength <= \strlen($haystack) && 0 === substr_compare($haystack, $needle, -$needleLen…
H A Dbootstrap.php29 …function str_contains(?string $haystack, ?string $needle): bool { return p\Php80::str_contains($ha… argument
32 …function str_starts_with(?string $haystack, ?string $needle): bool { return p\Php80::str_starts_wi… argument
35 …function str_ends_with(?string $haystack, ?string $needle): bool { return p\Php80::str_ends_with($ 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 …function mb_stristr($haystack, $needle, $before_needle = false, $encoding = null) { return p\Mbstr… argument
85 …function mb_strrchr($haystack, $needle, $before_needle = false, $encoding = null) { return p\Mbstr… argument
88 …function mb_strrichr($haystack, $needle, $before_needle = false, $encoding = null) { return p\Mbst… argument
91 …function mb_strripos($haystack, $needle, $offset = 0, $encoding = null) { return p\Mbstring::mb_st… argument
94 …function mb_strrpos($haystack, $needle, $offset = 0, $encoding = null) { return p\Mbstring::mb_str… argument
97 …function mb_strstr($haystack, $needle, $before_needle = false, $encoding = null) { return p\Mbstri… argument
109 …function mb_substr_count($haystack, $needle, $encoding = null) { return p\Mbstring::mb_substr_coun… argument
DMbstring.php494 public static function mb_strpos($haystack, $needle, $offset = 0, $encoding = null) argument
498 return strpos($haystack, $needle, $offset);
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);
527 $haystack = self::mb_substr($haystack, 0, $offset, $encoding);
531 $haystack = self::mb_substr($haystack, $offset, 2147483647, $encoding);
536 ? \iconv_strrpos($haystack, $needle, $encoding)
537 : self::mb_strlen($haystack, $encoding);
638 public static function mb_stripos($haystack, $needle, $offset = 0, $encoding = null) argument
[all …]
Dbootstrap80.php60 …s(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { ret… argument
75 …(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { retu… argument
78 …g $haystack, ?string $needle, ?bool $before_needle = false, ?string $encoding = null): string|fals… argument
81 …g $haystack, ?string $needle, ?bool $before_needle = false, ?string $encoding = null): string|fals… argument
84 … $haystack, ?string $needle, ?bool $before_needle = false, ?string $encoding = null): string|false… argument
87 …(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { retu… argument
90 …(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { retu… argument
93 …g $haystack, ?string $needle, ?bool $before_needle = false, ?string $encoding = null): string|fals… argument
105 …bstr_count(?string $haystack, ?string $needle, ?string $encoding = null): int { return p\Mbstring:… argument
/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 …function mb_stristr($haystack, $needle, $before_needle = false, $encoding = null) { return p\Mbstr… argument
85 …function mb_strrchr($haystack, $needle, $before_needle = false, $encoding = null) { return p\Mbstr… argument
88 …function mb_strrichr($haystack, $needle, $before_needle = false, $encoding = null) { return p\Mbst… argument
91 …function mb_strripos($haystack, $needle, $offset = 0, $encoding = null) { return p\Mbstring::mb_st… argument
94 …function mb_strrpos($haystack, $needle, $offset = 0, $encoding = null) { return p\Mbstring::mb_str… argument
97 …function mb_strstr($haystack, $needle, $before_needle = false, $encoding = null) { return p\Mbstri… argument
109 …function mb_substr_count($haystack, $needle, $encoding = null) { return p\Mbstring::mb_substr_coun… argument
H A DMbstring.php518 public static function mb_strpos($haystack, $needle, $offset = 0, $encoding = null) argument
522 return strpos($haystack, $needle, $offset);
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);
551 $haystack = self::mb_substr($haystack, 0, $offset, $encoding);
555 $haystack = self::mb_substr($haystack, $offset, 2147483647, $encoding);
560 ? iconv_strrpos($haystack, $needle, $encoding)
561 : self::mb_strlen($haystack, $encoding);
663 public static function mb_stripos($haystack, $needle, $offset = 0, $encoding = null) argument
[all …]
H A Dbootstrap80.php60 …s(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { ret… argument
75 …(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { retu… argument
78 …g $haystack, ?string $needle, ?bool $before_needle = false, ?string $encoding = null): string|fals… argument
81 …g $haystack, ?string $needle, ?bool $before_needle = false, ?string $encoding = null): string|fals… argument
84 … $haystack, ?string $needle, ?bool $before_needle = false, ?string $encoding = null): string|false… argument
87 …(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { retu… argument
90 …(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { retu… argument
93 …g $haystack, ?string $needle, ?bool $before_needle = false, ?string $encoding = null): string|fals… argument
105 …bstr_count(?string $haystack, ?string $needle, ?string $encoding = null): int { return p\Mbstring:… 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);
/template/strap/action/
H A Dsnippetsbootstrap.php156 $haystack = $scriptData["_data"];
158 $haystack = $scriptData["src"];
160 if (preg_match("/$scriptToDelete/i", $haystack)) {