H A D | grapheme_string.c | 102 char *haystack, *needle; in PHP_FUNCTION() local 129 found = php_memnstr(haystack + noffset, needle, needle_len, haystack + haystack_len); in PHP_FUNCTION() 133 RETURN_LONG(found - haystack); in PHP_FUNCTION() 152 char *haystack, *needle; in PHP_FUNCTION() local 214 char *haystack, *needle; in PHP_FUNCTION() local 269 char *haystack, *needle; in PHP_FUNCTION() local 543 char *haystack, *needle; in strstr_common_handler() local 556 found = php_memnstr(haystack, needle, needle_len, haystack + haystack_len); in strstr_common_handler() 565 size_t found_offset = found - haystack; in strstr_common_handler() 568 RETURN_STRINGL(haystack, found_offset); in strstr_common_handler() [all …]
|