Home
last modified time | relevance | path

Searched refs:iconv_strpos (Results 1 – 12 of 12) sorted by relevance

/PHP-8.0/ext/iconv/tests/
H A Diconv_strpos_basic.phpt2 Test iconv_strpos() function : basic functionality
6 function_exists('iconv_strpos') or die("skip iconv_strpos() is not available in this build");
13 * Test basic functionality of iconv_strpos with ASCII and multibyte characters
16 echo "*** Testing iconv_strpos() : basic functionality***\n";
25 var_dump(iconv_strpos($string_ascii, 'd', 2, 'ISO-8859-1'));
28 var_dump(iconv_strpos($string_ascii, '123'));
32 var_dump(iconv_strpos($string_mb, $needle1));
36 var_dump(iconv_strpos($string_mb, $needle2));
41 *** Testing iconv_strpos() : basic functionality***
H A Diconv_strpos_error2.phpt2 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");
11 * Pass an unknown encoding to iconv_strpos() to test behaviour
14 echo "*** Testing iconv_strpos() : error conditions ***\n";
20 var_dump( iconv_strpos($haystack, $needle, $offset, $encoding) );
25 *** Testing iconv_strpos() : error conditions ***
27 Warning: iconv_strpos(): Wrong encoding, conversion from "unknown-encoding" to "UCS-4LE" is not all…
H A Diconv_strpos_variation5.phpt2 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");
13 * Test how iconv_strpos() behaves when passed different integers as $offset argument
20 echo "*** Testing iconv_strpos() : usage variations ***\n";
36 var_dump(iconv_strpos($string_ascii, $needle_ascii, $i));
42 var_dump(iconv_strpos($string_mb, $needle_mb, $i, 'UTF-8'));
51 *** Testing iconv_strpos() : usage variations ***
55 iconv_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
57 iconv_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
91 iconv_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
[all …]
H A Dbug37176.phpt2 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 Diconv_strpos.phpt2 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 Diconv_strpos-charset-length-cve-2007-4840.phpt2 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 Dbug37773.phpt7 $test = @iconv_strpos("abbttt","ttt",0,"UTF-8");
H A Dbug79200.phpt11 var_dump(iconv_strpos('test test', 'test test', 0, 'WINDOWS-1258'));
/PHP-8.0/ext/iconv/
H A Diconv_arginfo.h65 ZEND_FUNCTION(iconv_strpos);
78 ZEND_FE(iconv_strpos, arginfo_iconv_strpos)
H A Diconv.stub.php9 function iconv_strpos(string $haystack, string $needle, int $offset = 0, ?string $encoding = null):… function
H A Dphp_iconv.h50 PHP_FUNCTION(iconv_strpos);
H A Diconv.c1854 PHP_FUNCTION(iconv_strpos) in PHP_FUNCTION() argument

Completed in 31 milliseconds