Home
last modified time | relevance | path

Searched refs:needle (Results 51 – 75 of 195) sorted by relevance

12345678

/PHP-7.1/ext/mbstring/tests/
H A Dmb_strpos_error2.phpt10 /* Prototype : int mb_strpos(string $haystack, string $needle [, int $offset [, string $encoding]])
21 $needle = 'world';
25 var_dump( mb_strpos($haystack, $needle, $offset, $encoding) );
H A Dmb_strrpos_error2.phpt10 /* Prototype : int mb_strrpos(string $haystack, string $needle [, int $offset [, string $encoding]…
22 $needle = '123';
26 var_dump(mb_strrpos($haystack, $needle , $offset, $encoding));
H A Dmb_strrchr_error2.phpt10 /* Prototype : string mb_strrchr(string haystack, string needle[, bool part[, string encoding]])
21 $needle = b'world';
24 var_dump( mb_strrchr($haystack, $needle, $part, $encoding) );
H A Dmb_strrichr_error2.phpt10 /* Prototype : string mb_strrichr(string haystack, string needle[, bool part[, string encoding]])
21 $needle = b'world';
24 var_dump( mb_strrichr($haystack, $needle, $part, $encoding) );
H A Dmb_stripos_error2.phpt10 /* Prototype : int mb_stripos(string haystack, string needle [, int offset [, string encoding]])
22 $needle = b'world';
26 var_dump( mb_stripos($haystack, $needle, $offset, $encoding) );
H A Dmb_stristr_error2.phpt10 /* Prototype : string mb_stristr(string haystack, string needle[, bool part[, string encoding]])
21 $needle = b'world';
24 var_dump( mb_stristr($haystack, $needle, $part, $encoding) );
H A Dmb_strripos_error2.phpt10 /* Prototype : int mb_strripos(string haystack, string needle [, int offset [, string encoding]])
22 $needle = b'world';
26 var_dump( mb_strripos($haystack, $needle, $offset, $encoding) );
H A Dmb_strstr_error2.phpt10 /* Prototype : string mb_strstr(string haystack, string needle[, bool part[, string encoding]])
21 $needle = b'world';
24 var_dump( mb_strstr($haystack, $needle, $part, $encoding) );
H A Dmb_substr_count_error2.phpt10 /* Prototype : int mb_substr_count(string $haystack, string $needle [, string $encoding])
22 $needle = 'Hello';
26 var_dump(mb_substr_count($haystack, $needle, $encoding));
H A Dmb_strrchr_error1.phpt10 /* Prototype : string mb_strrchr(string haystack, string needle[, bool part[, string encoding]])
22 $needle = b'string_val';
26 var_dump( mb_strrchr($haystack, $needle, $part, $encoding, $extra_arg) );
H A Dmb_substr_count_error1.phpt10 /* Prototype : int mb_substr_count(string $haystack, string $needle [, string $encoding])
25 $needle = 'val';
28 var_dump( mb_substr_count($haystack, $needle, $encoding, $extra_arg) );
H A Dmb_stristr_error1.phpt10 /* Prototype : string mb_stristr(string haystack, string needle[, bool part[, string encoding]])
22 $needle = b'string_val';
26 var_dump( mb_stristr($haystack, $needle, $part, $encoding, $extra_arg) );
H A Dmb_strpos_error1.phpt10 /* Prototype : int mb_strpos(string $haystack, string $needle [, int $offset [, string $encoding]])
25 $needle = 'string_val';
29 var_dump( mb_strpos($haystack, $needle, $offset, $encoding, $extra_arg) );
H A Dmb_strrichr_error1.phpt10 /* Prototype : string mb_strrichr(string haystack, string needle[, bool part[, string encoding]])
22 $needle = b'string_val';
26 var_dump( mb_strrichr($haystack, $needle, $part, $encoding, $extra_arg) );
H A Dmb_strrpos_error1.phpt10 /* Prototype : int mb_strrpos(string $haystack, string $needle [, int $offset [, string $encoding]…
25 $needle = 'string_val';
29 var_dump( mb_strrpos($haystack, $needle, $offset, $encoding, $extra_arg) );
H A Dmb_strstr_error1.phpt10 /* Prototype : string mb_strstr(string haystack, string needle[, bool part[, string encoding]])
22 $needle = b'string_val';
26 var_dump( mb_strstr($haystack, $needle, $part, $encoding, $extra_arg) );
/PHP-7.1/ext/iconv/tests/
H A Diconv_strpos_error2.phpt10 /* Prototype : int iconv_strpos(string haystack, string needle [, int offset [, string charset]])
21 $needle = 'world';
25 var_dump( iconv_strpos($haystack, $needle, $offset, $encoding) );
H A Diconv_strrpos_error2.phpt10 /* Prototype : proto int iconv_strrpos(string haystack, string needle [, string charset])
22 $needle = '123';
26 var_dump(iconv_strrpos($haystack, $needle , $encoding));
H A Diconv_strrpos.phpt14 function foo($haystk, $needle, $to_charset = false, $from_charset = false)
21 var_dump(iconv_strrpos($haystk, $needle, $to_charset));
24 var_dump(iconv_strrpos($haystk, $needle));
H A Diconv_strrpos_error1.phpt10 /* Prototype : proto int iconv_strrpos(string haystack, string needle [, string charset])
25 $needle = 'string_val';
28 var_dump( iconv_strrpos($haystack, $needle, $encoding, $extra_arg) );
/PHP-7.1/ext/standard/tests/strings/
H A Dstrrchr_variation12.phpt5 /* Prototype : string strrchr(string $haystack, string $needle);
24 //needle as null string
26 //needle as NULL
H A Dstripos_variation13.phpt2 Test stripos() function : usage variations - null terminated strings for 'needle' argument
5 /* Prototype : int stripos ( string $haystack, string $needle [, int $offset] );
10 /* Test stripos() function with null terminated strings for 'needle' argument
H A Dstrrchr_error.phpt5 /* Prototype : string strrchr(string $haystack, string $needle);
12 $needle = "Hello";
22 var_dump( strrchr($haystack, $needle, $extra_arg) );
H A Dstrrchr_variation11.phpt2 Test strrchr() function : usage variations - unexpected inputs for haystack and needle
5 /* Prototype : string strrchr(string $haystack, string $needle);
10 /* Test strrchr() function with unexpected inputs for haystack and needle */
12 echo "*** Testing strrchr() function: with unexpected inputs for haystack and needle ***\n";
92 *** Testing strrchr() function: with unexpected inputs for haystack and needle ***
/PHP-7.1/ext/mbstring/
H A Dmbstring.c257 ZEND_ARG_INFO(0, needle)
264 ZEND_ARG_INFO(0, needle)
271 ZEND_ARG_INFO(0, needle)
278 ZEND_ARG_INFO(0, needle)
285 ZEND_ARG_INFO(0, needle)
292 ZEND_ARG_INFO(0, needle)
2709 if (!needle.len) { in PHP_FUNCTION()
4937 needle.len = len; in php_mb_stripos()
4939 if (!needle.val) { in php_mb_stripos()
4980 if (needle.val) { in php_mb_stripos()
[all …]

Completed in 52 milliseconds

12345678