/PHP-7.4/ext/mbstring/tests/ |
H A D | mb_strstr_variation6.phpt | 10 /* Prototype : string mb_strstr(string haystack, string needle[, bool part[, string encoding]])
|
H A D | mb_stristr_basic.phpt | 10 /* Prototype : string mb_stristr(string haystack, string needle[, bool part[, string encoding]])
|
H A D | mb_stristr_variation5.phpt | 10 /* Prototype : string mb_stristr(string haystack, string needle[, bool part[, string encoding]])
|
H A D | mb_strrichr_basic.phpt | 10 /* Prototype : string mb_strrichr(string haystack, string needle[, bool part[, string encoding]])
|
H A D | mb_strrichr_variation5.phpt | 10 /* Prototype : string mb_strrichr(string haystack, string needle[, bool part[, string encoding]])
|
H A D | bug43840.phpt | 10 /* Prototype : int mb_strpos(string $haystack, string $needle [, int $offset [, string $encoding]])
|
H A D | mb_strrpos_variation5.phpt | 10 /* Prototype : int mb_strrpos(string $haystack, string $needle [, int $offset [, string $encoding]…
|
H A D | mb_stripos_variation5_Bug45923.phpt | 10 /* Prototype : int mb_stripos(string $haystack, string $needle [, int $offset [, string $encoding]…
|
H A D | mb_strpos_variation5.phpt | 10 /* Prototype : int mb_strpos(string $haystack, string $needle [, int $offset [, string $encoding]])
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | stripos_error.phpt | 5 /* Prototype : int stripos ( string $haystack, string $needle [, int $offset] );
|
H A D | strrchr_variation12.phpt | 5 /* Prototype : string strrchr(string $haystack, string $needle);
|
H A D | strrchr_variation10.phpt | 5 /* Prototype : string strrchr(string $haystack, string $needle); 11 * and expected type for haystack
|
H A D | stristr_variation2.phpt | 6 /* Prototype: string stristr ( string $haystack, string $needle );
|
/PHP-7.4/ext/iconv/tests/ |
H A D | iconv_strpos_variation5.phpt | 12 /* Prototype : int iconv_strpos(string haystack, string needle [, int offset [, string charset]])
|
/PHP-7.4/ext/intl/tests/ |
H A D | grapheme.phpt | 56 $res_str .= "\n" . 'function grapheme_strpos($haystack, $needle, $offset = 0) {}' . "\n\n"; 125 $res_str .= "\n" . 'function grapheme_stripos($haystack, $needle, $offset = 0) {}' . "\n\n"; 193 $res_str .= "\n" . 'function grapheme_strrpos($haystack, $needle, $offset = 0) {}' . "\n\n"; 259 $res_str .= "\n" . 'function grapheme_strripos($haystack, $needle, $offset = 0) {}' . "\n\n"; 554 // haystack, count, [[offset], [next]], result 794 function grapheme_strpos($haystack, $needle, $offset = 0) {} 838 function grapheme_stripos($haystack, $needle, $offset = 0) {} 880 function grapheme_strrpos($haystack, $needle, $offset = 0) {} 919 function grapheme_strripos($haystack, $needle, $offset = 0) {} 1024 function grapheme_strstr($haystack, $needle, $before_needle = FALSE) {} [all …]
|
H A D | grapheme2.phpt | 56 $res_str .= "\n" . 'function grapheme_strpos($haystack, $needle, $offset = 0) {}' . "\n\n"; 125 $res_str .= "\n" . 'function grapheme_stripos($haystack, $needle, $offset = 0) {}' . "\n\n"; 193 $res_str .= "\n" . 'function grapheme_strrpos($haystack, $needle, $offset = 0) {}' . "\n\n"; 259 $res_str .= "\n" . 'function grapheme_strripos($haystack, $needle, $offset = 0) {}' . "\n\n"; 554 // haystack, count, [[offset], [next]], result 794 function grapheme_strpos($haystack, $needle, $offset = 0) {} 838 function grapheme_stripos($haystack, $needle, $offset = 0) {} 880 function grapheme_strrpos($haystack, $needle, $offset = 0) {} 919 function grapheme_strripos($haystack, $needle, $offset = 0) {} 1024 function grapheme_strstr($haystack, $needle, $before_needle = FALSE) {} [all …]
|
/PHP-7.4/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfilter.c | 815 mbfl_string *haystack, in mbfl_strpos() argument 825 if (haystack == NULL || haystack->val == NULL || needle == NULL || needle->val == NULL) { in mbfl_strpos() 837 if (haystack->encoding->no_encoding != mbfl_no_encoding_utf8) { in mbfl_strpos() 839 haystack_u8 = mbfl_convert_encoding(haystack, &_haystack_u8, &mbfl_encoding_utf8); in mbfl_strpos() 845 haystack_u8 = haystack; in mbfl_strpos() 1025 mbfl_string *haystack, in mbfl_substr_count() argument 1034 if (haystack == NULL || needle == NULL) { in mbfl_substr_count() 1059 haystack->encoding, in mbfl_substr_count() 1073 p = haystack->val; in mbfl_substr_count() 1074 n = haystack->len; in mbfl_substr_count()
|
/PHP-7.4/ext/standard/ |
H A D | php_string.h | 129 PHPAPI zend_string *php_str_to_str(const char *haystack, size_t length, const char *needle,
|
H A D | basic_functions.c | 309 ZEND_ARG_INFO(0, haystack) /* ARRAY_INFO(0, haystack, 0) */ 315 ZEND_ARG_INFO(0, haystack) /* ARRAY_INFO(0, haystack, 0) */ 2232 ZEND_ARG_INFO(0, haystack) 2238 ZEND_ARG_INFO(0, haystack) 2244 ZEND_ARG_INFO(0, haystack) 2250 ZEND_ARG_INFO(0, haystack) 2256 ZEND_ARG_INFO(0, haystack) 2262 ZEND_ARG_INFO(0, haystack) 2268 ZEND_ARG_INFO(0, haystack) 2424 ZEND_ARG_INFO(0, haystack) [all …]
|
/PHP-7.4/ext/standard/tests/array/ |
H A D | in_array_variation1.phpt | 6 * Prototype : bool in_array ( mixed $needle, array $haystack [, bool $strict] ) 7 * Description: Searches haystack for needle and returns TRUE
|
H A D | array_search_variation1.phpt | 6 * Prototype : mixed array_search ( mixed $needle, array $haystack [, bool $strict] ) 7 …* Description: Searches haystack for needle and returns the key if it is found in the array, FALSE…
|
/PHP-7.4/main/ |
H A D | rfc1867.c | 585 static void *php_ap_memstr(char *haystack, int haystacklen, char *needle, int needlen, int partial) in php_ap_memstr() argument 588 char *ptr = haystack; in php_ap_memstr() 594 len = haystacklen - (ptr - (char *)haystack); in php_ap_memstr()
|
/PHP-7.4/ext/libxml/ |
H A D | libxml.c | 428 char *haystack = estrndup(Z_STRVAL_P(header), Z_STRLEN_P(header)); in php_libxml_input_buffer_create_filename() local 429 char *encoding = php_stristr(haystack, needle, Z_STRLEN_P(header), sizeof("charset=")-1); in php_libxml_input_buffer_create_filename() 456 efree(haystack); in php_libxml_input_buffer_create_filename()
|
/PHP-7.4/Zend/ |
H A D | zend_operators.c | 3181 ZEND_API const char* ZEND_FASTCALL zend_memnstr_ex(const char *haystack, const char *needle, size_t… argument 3187 if (needle_len == 0 || (end - haystack) < needle_len) { 3193 p = haystack; 3215 ZEND_API const char* ZEND_FASTCALL zend_memnrstr_ex(const char *haystack, const char *needle, size_… argument 3221 if (needle_len == 0 || (end - haystack) < needle_len) { 3230 while (p >= haystack) { 3241 if (UNEXPECTED(p == haystack)) {
|
/PHP-7.4/ext/intl/ |
H A D | php_intl.c | 217 ZEND_ARG_INFO(0, haystack) 229 ZEND_ARG_INFO(0, haystack)
|