Searched refs:haystack (Results 1 – 5 of 5) sorted by relevance
/dokuwiki/inc/ |
D | compatibility.php | 95 function str_starts_with(?string $haystack, ?string $needle) argument 97 return 0 === strncmp($haystack, $needle, \strlen($needle)); 106 function str_contains(?string $haystack, ?string $needle) argument 108 return '' === $needle || false !== strpos($haystack, (string) $needle); 117 function str_ends_with(?string $haystack, ?string $needle) argument 119 if ('' === $needle || $needle === $haystack) { 123 if ('' === $haystack) { 129 …return $needleLength <= \strlen($haystack) && 0 === substr_compare($haystack, $needle, -$needleLen…
|
D | Ip.php | 30 * @param string $haystack The CIDR range as an IP followed by a forward 39 public static function ipInRange(string $needle, string $haystack): bool argument 41 $range = explode('/', $haystack); 51 throw new Exception('Invalid IP range mask: ' . $haystack);
|
D | utf8.php | 208 function utf8_strpos($haystack, $needle, $offset = 0) argument 211 return PhpString::strpos($haystack, $needle, $offset);
|
/dokuwiki/inc/Utf8/ |
D | PhpString.php | 346 * @param string $haystack 354 public static function strpos($haystack, $needle, $offset = 0) argument 360 $pos = strpos($haystack, $needle, $offset + $comp); 365 $length = self::strlen(substr($haystack, 0, $pos));
|
/dokuwiki/_test/core/ |
D | phpQuery-onefile.php | 4343 function mb_strpos($haystack, $needle, $offset=0) argument 4345 return strpos($haystack, $needle, $offset); 4355 function mb_stripos($haystack, $needle, $offset=0) argument 4357 return stripos($haystack, $needle, $offset); 4381 function mb_substr_count($haystack, $needle) argument 4383 return substr_count($haystack, $needle);
|