Searched refs:iconv_strpos (Results 1 – 12 of 12) sorted by relevance
/PHP-8.2/ext/iconv/tests/ |
H A D | iconv_strpos_variation5.phpt | 2 Test iconv_strpos() function : usage variations - Pass different integers as $offset argument 10 * Test how iconv_strpos() behaves when passed different integers as $offset argument 17 echo "*** Testing iconv_strpos() : usage variations ***\n"; 33 var_dump(iconv_strpos($string_ascii, $needle_ascii, $i)); 39 var_dump(iconv_strpos($string_mb, $needle_mb, $i, 'UTF-8')); 48 *** Testing iconv_strpos() : usage variations *** 52 iconv_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 54 iconv_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 88 iconv_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 90 iconv_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) [all …]
|
H A D | iconv_strpos_basic.phpt | 2 Test iconv_strpos() function : basic functionality 10 * Test basic functionality of iconv_strpos with ASCII and multibyte characters 13 echo "*** Testing iconv_strpos() : basic functionality***\n"; 22 var_dump(iconv_strpos($string_ascii, 'd', 2, 'ISO-8859-1')); 25 var_dump(iconv_strpos($string_ascii, '123')); 29 var_dump(iconv_strpos($string_mb, $needle1)); 33 var_dump(iconv_strpos($string_mb, $needle2)); 38 *** Testing iconv_strpos() : basic functionality***
|
H A D | iconv_strpos_error2.phpt | 2 Test iconv_strpos() function : error conditions - Pass unknown encoding 8 * Pass an unknown encoding to iconv_strpos() to test behaviour 11 echo "*** Testing iconv_strpos() : error conditions ***\n"; 17 var_dump( iconv_strpos($haystack, $needle, $offset, $encoding) ); 22 *** Testing iconv_strpos() : error conditions *** 24 Warning: iconv_strpos(): Wrong encoding, conversion from "unknown-encoding" to "UCS-4LE" is not all…
|
H A D | bug37176.phpt | 2 Bug #37176 (iconv_strpos() fails to find a string) 8 $test = @iconv_strpos("abbttt","ttt",0,"UTF-8"); 16 var_dump(iconv_strpos('11--','1-',0,'UTF-8')); 17 var_dump(iconv_strpos('-11--','1-',0,'UTF-8'));
|
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)); 40 var_dump(iconv_strpos("string", "")); 41 var_dump(iconv_strpos("", "string")); 52 iconv_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
|
H A D | iconv_strpos_error_001.phpt | 2 iconv_strpos() - test against PHP's default internal encoding 9 var_dump(iconv_strpos('Hello, world', 'world', -2)); 12 %AWarning: iconv_strpos(): Wrong encoding, conversion from %s
|
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(): Encoding parameter exceeds the maximum allowed length of 64 characters in …
|
H A D | bug37773.phpt | 8 $test = @iconv_strpos("abbttt","ttt",0,"UTF-8");
|
H A D | bug79200.phpt | 9 var_dump(iconv_strpos('test test', 'test test', 0, 'WINDOWS-1258'));
|
/PHP-8.2/ext/iconv/ |
H A D | iconv_arginfo.h | 65 ZEND_FUNCTION(iconv_strpos); 78 ZEND_FE(iconv_strpos, arginfo_iconv_strpos)
|
H A D | iconv.stub.php | 31 function iconv_strpos(string $haystack, string $needle, int $offset = 0, ?string $encoding = null):… function
|
H A D | iconv.c | 1864 PHP_FUNCTION(iconv_strpos) in PHP_FUNCTION() argument
|
Completed in 25 milliseconds