/php-src/ext/mbstring/ |
H A D | mbstring.c | 1906 haystack_u8 = haystack; in mb_find_strpos() 1941 if (haystack_u8 != haystack) { in mb_find_strpos() 1969 zend_string *needle, *haystack; in PHP_FUNCTION() local 1973 Z_PARAM_STR(haystack) in PHP_FUNCTION() 2002 Z_PARAM_STR(haystack) in PHP_FUNCTION() 2032 Z_PARAM_STR(haystack) in PHP_FUNCTION() 2063 Z_PARAM_STR(haystack) in PHP_FUNCTION() 2157 Z_PARAM_STR(haystack) in php_mb_strstr_variants() 2229 Z_PARAM_STR(haystack) in PHP_FUNCTION() 2249 haystack_u8 = haystack; in PHP_FUNCTION() [all …]
|
H A D | mbstring.h | 67 MBSTRING_API size_t php_mb_stripos(bool mode, zend_string *haystack, zend_string *needle, zend_long…
|
H A D | mbstring_arginfo.h | 52 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0) 65 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0) 78 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0)
|
/php-src/ext/mbstring/tests/ |
H A D | mb_strpos.phpt | 88 // So invalid byte sequences would match '?', both from haystack to needle 89 // and needle to haystack
|
H A D | mb_stripos.phpt | 107 // So invalid byte sequences would match the substitute char, both from haystack 108 // to needle and needle to haystack
|
/php-src/ext/standard/tests/strings/ |
H A D | strpos.phpt | 251 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in %s o… 281 strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 282 strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
|
H A D | strstr.phpt | 302 Deprecated: strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated in %s o…
|
/php-src/ext/standard/tests/array/ |
H A D | array_search_variation4.phpt | 2 Test array_search() function : usage variations - haystack as resource/multi dimensional array
|
/php-src/ext/standard/ |
H A D | php_string.h | 50 PHPAPI zend_string *php_str_to_str(const char *haystack, size_t length, const char *needle,
|
H A D | basic_functions_arginfo.h | 151 ZEND_ARG_TYPE_INFO(0, haystack, IS_ARRAY, 0) 157 ZEND_ARG_TYPE_INFO(0, haystack, IS_ARRAY, 0) 887 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0) 897 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0) 911 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0) 1041 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0) 1081 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0)
|
/php-src/ext/intl/tests/ |
H A D | grapheme.phpt | 57 $res_str .= "\n" . 'function grapheme_strpos($haystack, $needle, $offset = 0) {}' . "\n\n"; 126 $res_str .= "\n" . 'function grapheme_stripos($haystack, $needle, $offset = 0) {}' . "\n\n"; 194 $res_str .= "\n" . 'function grapheme_strrpos($haystack, $needle, $offset = 0) {}' . "\n\n"; 260 $res_str .= "\n" . 'function grapheme_strripos($haystack, $needle, $offset = 0) {}' . "\n\n"; 571 // haystack, count, [[offset], [next]], result 811 function grapheme_strpos($haystack, $needle, $offset = 0) {} 855 function grapheme_stripos($haystack, $needle, $offset = 0) {} 897 function grapheme_strrpos($haystack, $needle, $offset = 0) {} 936 function grapheme_strripos($haystack, $needle, $offset = 0) {} 1041 function grapheme_strstr($haystack, $needle, $before_needle = FALSE) {} [all …]
|
H A D | grapheme2.phpt | 57 $res_str .= "\n" . 'function grapheme_strpos($haystack, $needle, $offset = 0) {}' . "\n\n"; 126 $res_str .= "\n" . 'function grapheme_stripos($haystack, $needle, $offset = 0) {}' . "\n\n"; 194 $res_str .= "\n" . 'function grapheme_strrpos($haystack, $needle, $offset = 0) {}' . "\n\n"; 260 $res_str .= "\n" . 'function grapheme_strripos($haystack, $needle, $offset = 0) {}' . "\n\n"; 559 // haystack, count, [[offset], [next]], result 799 function grapheme_strpos($haystack, $needle, $offset = 0) {} 843 function grapheme_stripos($haystack, $needle, $offset = 0) {} 885 function grapheme_strrpos($haystack, $needle, $offset = 0) {} 924 function grapheme_strripos($haystack, $needle, $offset = 0) {} 1029 function grapheme_strstr($haystack, $needle, $before_needle = FALSE) {} [all …]
|
/php-src/main/ |
H A D | rfc1867.c | 555 static void *php_ap_memstr(char *haystack, int haystacklen, char *needle, int needlen, int partial) in php_ap_memstr() argument 558 char *ptr = haystack; in php_ap_memstr() 564 len = haystacklen - (ptr - (char *)haystack); in php_ap_memstr()
|
/php-src/ext/intl/ |
H A D | php_intl_arginfo.h | 462 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0) 480 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0) 493 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0)
|
/php-src/Zend/ |
H A D | zend_operators.c | 3671 ZEND_API const char* ZEND_FASTCALL zend_memnstr_ex(const char *haystack, const char *needle, size_t… argument 3677 if (needle_len == 0 || (end - haystack) < needle_len) { 3683 p = haystack; 3705 ZEND_API const char* ZEND_FASTCALL zend_memnrstr_ex(const char *haystack, const char *needle, size_… argument 3711 if (needle_len == 0 || (end - haystack) < needle_len) { 3720 while (p >= haystack) { 3731 if (UNEXPECTED(p == haystack)) {
|
/php-src/ext/fileinfo/libmagic/ |
H A D | softmagic.c | 2295 zend_string *haystack; in magiccheck() local 2301 haystack = zend_string_init(ms->search.s, ms->search.s_len, 0); in magiccheck() 2304 php_pcre_match_impl(pce, haystack, &retval, &subpats, 0, PREG_OFFSET_CAPTURE, 0); in magiccheck() 2306 zend_string_release(haystack); in magiccheck()
|
/php-src/ext/phar/phar/ |
H A D | pharcommand.inc | 193 * @param string $haystack The haystack 198 static function strEndsWith($haystack, $needle) 200 return substr($haystack, -strlen($needle)) == $needle;
|
/php-src/ext/fileinfo/ |
H A D | libmagic.patch | 3329 + zend_string *haystack; 3334 + /* Cut the search len from haystack, equals to REG_STARTEND */ 3335 + haystack = zend_string_init(ms->search.s, ms->search.s_len, 0); 3338 + php_pcre_match_impl(pce, haystack, &retval, &subpats, 0, PREG_OFFSET_CAPTURE, 0); 3339 + /* Free haystack */ 3340 + zend_string_release(haystack);
|