/PHP-7.1/ext/mbstring/tests/ |
H A D | mb_strpos_error2.phpt | 10 /* 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 D | mb_strrpos_error2.phpt | 10 /* 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 D | mb_strrchr_error2.phpt | 10 /* 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 D | mb_strrichr_error2.phpt | 10 /* 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 D | mb_stripos_error2.phpt | 10 /* 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 D | mb_stristr_error2.phpt | 10 /* 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 D | mb_strripos_error2.phpt | 10 /* 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 D | mb_strstr_error2.phpt | 10 /* 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 D | mb_substr_count_error2.phpt | 10 /* 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 D | mb_strrchr_error1.phpt | 10 /* 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 D | mb_substr_count_error1.phpt | 10 /* 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 D | mb_stristr_error1.phpt | 10 /* 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 D | mb_strpos_error1.phpt | 10 /* 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 D | mb_strrichr_error1.phpt | 10 /* 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 D | mb_strrpos_error1.phpt | 10 /* 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 D | mb_strstr_error1.phpt | 10 /* 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 D | iconv_strpos_error2.phpt | 10 /* 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 D | iconv_strrpos_error2.phpt | 10 /* Prototype : proto int iconv_strrpos(string haystack, string needle [, string charset]) 22 $needle = '123'; 26 var_dump(iconv_strrpos($haystack, $needle , $encoding));
|
H A D | iconv_strrpos.phpt | 14 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 D | iconv_strrpos_error1.phpt | 10 /* 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 D | strrchr_variation12.phpt | 5 /* Prototype : string strrchr(string $haystack, string $needle); 24 //needle as null string 26 //needle as NULL
|
H A D | stripos_variation13.phpt | 2 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 D | strrchr_error.phpt | 5 /* Prototype : string strrchr(string $haystack, string $needle); 12 $needle = "Hello"; 22 var_dump( strrchr($haystack, $needle, $extra_arg) );
|
H A D | strrchr_variation11.phpt | 2 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 D | mbstring.c | 257 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 …]
|