/PHP-7.2/ext/mbstring/tests/ |
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_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.2/ext/standard/tests/strings/ |
H A D | str_shuffle_variation1.phpt | 2 Test str_shuffle() function : usage variations - test values for $haystack argument
|
H A D | stristr_variation2.phpt | 6 /* Prototype: string stristr ( string $haystack, string $needle );
|
H A D | strstr.phpt | 5 /* Prototype: string strstr ( string $haystack, string $needle );
|
H A D | strpos.phpt | 7 /* Prototype: int strpos ( string $haystack, mixed $needle [, int $offset] );
|
/PHP-7.2/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.2/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.2/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfilter.c | 981 mbfl_string *haystack, in mbfl_strpos() argument 991 if (haystack == NULL || haystack->val == NULL || needle == NULL || needle->val == NULL) { in mbfl_strpos() 1004 if (haystack->no_encoding != mbfl_no_encoding_utf8) { in mbfl_strpos() 1006 haystack_u8 = mbfl_convert_encoding(haystack, &_haystack_u8, mbfl_no_encoding_utf8); in mbfl_strpos() 1012 haystack_u8 = haystack; in mbfl_strpos() 1192 mbfl_string *haystack, in mbfl_substr_count() argument 1201 if (haystack == NULL || needle == NULL) { in mbfl_substr_count() 1235 haystack->no_encoding, in mbfl_substr_count() 1249 p = haystack->val; in mbfl_substr_count() 1250 n = haystack->len; in mbfl_substr_count()
|
/PHP-7.2/ext/standard/ |
H A D | php_string.h | 135 PHPAPI zend_string *php_str_to_str(char *haystack, size_t length, char *needle,
|
H A D | basic_functions.c | 321 ZEND_ARG_INFO(0, haystack) /* ARRAY_INFO(0, haystack, 0) */ 327 ZEND_ARG_INFO(0, haystack) /* ARRAY_INFO(0, haystack, 0) */ 2229 ZEND_ARG_INFO(0, haystack) 2235 ZEND_ARG_INFO(0, haystack) 2241 ZEND_ARG_INFO(0, haystack) 2247 ZEND_ARG_INFO(0, haystack) 2253 ZEND_ARG_INFO(0, haystack) 2259 ZEND_ARG_INFO(0, haystack) 2265 ZEND_ARG_INFO(0, haystack) 2421 ZEND_ARG_INFO(0, haystack) [all …]
|
/PHP-7.2/ext/standard/tests/array/ |
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…
|
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
|
/PHP-7.2/main/ |
H A D | rfc1867.c | 595 static void *php_ap_memstr(char *haystack, int haystacklen, char *needle, int needlen, int partial) in php_ap_memstr() argument 598 char *ptr = haystack; in php_ap_memstr() 604 len = haystacklen - (ptr - (char *)haystack); in php_ap_memstr()
|
/PHP-7.2/Zend/ |
H A D | zend_operators.c | 3038 ZEND_API const char* ZEND_FASTCALL zend_memnstr_ex(const char *haystack, const char *needle, size_t… argument 3044 if (needle_len == 0 || (end - haystack) == 0) { 3050 p = haystack; 3072 ZEND_API const char* ZEND_FASTCALL zend_memnrstr_ex(const char *haystack, const char *needle, size_… argument 3078 if (needle_len == 0 || (end - haystack) == 0) { 3087 while (p >= haystack) { 3098 if (UNEXPECTED(p == haystack)) {
|
/PHP-7.2/ext/intl/ |
H A D | php_intl.c | 214 ZEND_ARG_INFO(0, haystack) 226 ZEND_ARG_INFO(0, haystack)
|
/PHP-7.2/ext/fileinfo/libmagic/ |
H A D | softmagic.c | 1901 char *haystack; in magiccheck() local 1907 haystack = estrndup(ms->search.s, ms->search.s_len); in magiccheck() 1910 …php_pcre_match_impl(pce, haystack, ms->search.s_len, &retval, &subpats, 0, 1, PREG_OFFSET_CAPTURE,… in magiccheck() 1912 efree(haystack); in magiccheck()
|
/PHP-7.2/ext/phar/phar/ |
H A D | pharcommand.inc | 191 * @param string $haystack The haystack 196 static function strEndsWith($haystack, $needle) 198 return substr($haystack, -strlen($needle)) == $needle;
|
/PHP-7.2/win32/ |
H A D | sendmail.c | 349 PHPAPI zend_string *php_str_to_str(char *haystack, size_t length, char *needle,
|
/PHP-7.2/ext/fileinfo/ |
H A D | libmagic.patch | 3455 + char *haystack; 3460 + /* Cut the search len from haystack, equals to REG_STARTEND */ 3461 + haystack = estrndup(ms->search.s, ms->search.s_len); 3464 + php_pcre_match_impl(pce, haystack, ms->search.s_len, &retval, &subpats, 0, 1, PREG_OFFSET_CAPTU… 3465 + /* Free haystack */ 3466 + efree(haystack);
|
/PHP-7.2/ext/iconv/ |
H A D | iconv.c | 79 ZEND_ARG_INFO(0, haystack) 86 ZEND_ARG_INFO(0, haystack)
|
/PHP-7.2/ |
H A D | NEWS | 462 haystack). (Nikita)
|