Searched refs:iconv_strpos (Results 1 – 10 of 10) sorted by relevance
/PHP-7.4/ext/iconv/tests/ |
H A D | iconv_strpos_basic.phpt | 2 Test iconv_strpos() function : basic functionality 6 function_exists('iconv_strpos') or die("skip iconv_strpos() is not available in this build"); 12 /* Prototype : int iconv_strpos(string haystack, string needle [, int offset [, string charset]]) 18 * Test basic functionality of iconv_strpos with ASCII and multibyte characters 21 echo "*** Testing iconv_strpos() : basic functionality***\n"; 30 var_dump(iconv_strpos($string_ascii, 'd', 2, 'ISO-8859-1')); 33 var_dump(iconv_strpos($string_ascii, '123')); 37 var_dump(iconv_strpos($string_mb, $needle1)); 41 var_dump(iconv_strpos($string_mb, $needle2)); 46 *** Testing iconv_strpos() : basic functionality***
|
H A D | iconv_strpos_error2.phpt | 2 Test iconv_strpos() function : error conditions - Pass unknown encoding 6 function_exists('iconv_strpos') or die("skip iconv_strpos() is not available in this build"); 10 /* Prototype : int iconv_strpos(string haystack, string needle [, int offset [, string charset]]) 16 * Pass an unknown encoding to iconv_strpos() to test behaviour 19 echo "*** Testing iconv_strpos() : error conditions ***\n"; 25 var_dump( iconv_strpos($haystack, $needle, $offset, $encoding) ); 30 *** Testing iconv_strpos() : error conditions *** 32 Notice: iconv_strpos(): Wrong charset, conversion from `unknown-encoding' to `UCS-4LE' is not allow…
|
H A D | bug37176.phpt | 2 Bug #37176 (iconv_strpos() fails to find a string) 7 $test = @iconv_strpos("abbttt","ttt",0,"UTF-8"); 15 var_dump(iconv_strpos('11--','1-',0,'UTF-8')); 16 var_dump(iconv_strpos('-11--','1-',0,'UTF-8'));
|
H A D | iconv_strpos_variation5.phpt | 2 Test iconv_strpos() function : usage variations - Pass different integers as $offset argument 6 function_exists('iconv_strpos') or die("skip iconv_strpos() is not available in this build"); 12 /* Prototype : int iconv_strpos(string haystack, string needle [, int offset [, string charset]]) 18 * Test how iconv_strpos() behaves when passed different integers as $offset argument 25 echo "*** Testing iconv_strpos() : usage variations ***\n"; 40 var_dump(iconv_strpos($string_ascii, $needle_ascii, $i)); 42 var_dump(iconv_strpos($string_mb, $needle_mb, $i, 'UTF-8')); 48 *** Testing iconv_strpos() : usage variations *** 53 Warning: iconv_strpos(): Offset not contained in string. in %s on line %d 57 Warning: iconv_strpos(): Offset not contained in string. in %s on line %d
|
H A D | iconv_strpos.phpt | 2 iconv_strpos() 21 var_dump(iconv_strpos($haystk, $needle, $offset, $to_charset)); 23 var_dump(iconv_strpos($haystk, $needle, $offset)); 36 var_dump(iconv_strpos("string", "")); 37 var_dump(iconv_strpos("", "string"));
|
H A D | iconv_strpos-charset-length-cve-2007-4840.phpt | 2 iconv_strpos() charset parameter length checks (CVE-2007-4840) 8 var_dump(iconv_strpos("a", "b", 0, $a)); 11 Warning: iconv_strpos(): Charset parameter exceeds the maximum allowed length of %d characters in %…
|
H A D | bug37773.phpt | 7 $test = @iconv_strpos("abbttt","ttt",0,"UTF-8");
|
H A D | bug79200.phpt | 11 var_dump(iconv_strpos('test test', 'test test', 0, 'WINDOWS-1258'));
|
/PHP-7.4/ext/iconv/ |
H A D | php_iconv.h | 64 PHP_FUNCTION(iconv_strpos);
|
H A D | iconv.c | 129 PHP_FE(iconv_strpos, arginfo_iconv_strpos) 2135 PHP_FUNCTION(iconv_strpos) in PHP_FUNCTION() argument
|
Completed in 21 milliseconds