/PHP-8.1/ext/standard/tests/strings/ |
H A D | strpos.phpt | 2 Test strpos() function 14 var_dump( strpos("tEst", "test") ); 15 var_dump( strpos("teSt", "test") ); 16 var_dump( strpos("", "") ); 17 var_dump( strpos("a", "") ); 18 var_dump( strpos("", "a") ); 19 var_dump( strpos("\\\\a", "\\a") ); 118 var_dump( strpos("", NULL) ); 119 var_dump( strpos(NULL, NULL) ); 120 var_dump( strpos("a", NULL) ); [all …]
|
H A D | strpos_number.phpt | 2 strpos() matching numbers 6 var_dump(strpos("foo 11", 11)); 8 var_dump(strpos("foo bar", 111)); 10 var_dump(strpos("foo 11", "11"));
|
H A D | strpos_variation1.phpt | 2 Test strpos() function : usage variations - complex strings containing other than 7-bit chars 9 var_dump( strpos($string, chr(128)) ); 11 var_dump( strpos($string, chr(255), 3) ); 13 var_dump( strpos($string, chr(256)) );
|
/PHP-8.1/Zend/tests/type_declarations/ |
H A D | callable_003.phpt | 13 foo("strpos", 123, "strpos"); 17 string(6) "strpos" 19 string(6) "strpos"
|
H A D | callable_001.phpt | 15 foo("strpos"); 22 string(6) "strpos"
|
/PHP-8.1/ext/opcache/tests/ |
H A D | bug76796.phpt | 7 disable_functions=strpos 14 var_dump(strpos('foo', 'bar')); 21 Call to undefined function strpos()
|
/PHP-8.1/ext/libxml/tests/ |
H A D | libxml_entity_loading_disabled_by_default.phpt | 42 var_dump(strpos(parseXML1($xml), 'SECRET_DATA') === false); 43 var_dump(strpos(parseXML2($xml), 'SECRET_DATA') === false); 44 var_dump(strpos(parseXML3($xml), 'SECRET_DATA') === false); 45 var_dump(strpos(parseXML4($xml), 'SECRET_DATA') === false);
|
H A D | libxml_disable_entity_loader_2.phpt | 30 var_dump(strpos(parseXML($xml), 'SECRET_DATA') !== false); 32 var_dump(strpos(parseXML($xml), 'SECRET_DATA') === false);
|
H A D | libxml_disable_entity_loader.phpt | 31 var_dump(strpos(parseXML($xml), 'SECRET_DATA') !== false); 33 var_dump(strpos(parseXML($xml), 'SECRET_DATA') === false);
|
/PHP-8.1/scripts/dev/ |
H A D | search_underscores.php | 36 if (strpos($ext, "_") !== false) { 45 if (strpos($c, "_") !== false) { 57 if (strpos(substr($method, substr($method, 0, 2) != "__" ? 0 : 2), "_") !== false) {
|
/PHP-8.1/ext/soap/tests/bugs/ |
H A D | bug41097.phpt | 9 echo (strpos($soap->__getLastRequest(), ':Map"') != false)?"Map\n":"Array\n"; 18 echo (strpos($soap->__getLastRequest(), ':Map"') != false)?"Map\n":"Array\n"; 20 echo (strpos($soap->__getLastRequest(), ':Map"') != false)?"Map\n":"Array\n";
|
/PHP-8.1/ext/oci8/tests/ |
H A D | skipif.inc | 6 if (strpos($v, 'Oracle Database') !== false) 8 else if (strpos($v, 'Oracle TimesTen') !== false)
|
/PHP-8.1/ext/standard/tests/general_functions/ |
H A D | proc_nice_basic-win.phpt | 44 strpos($t[0], ' ProcessId' ), 45 strpos($t[0], ' Priority ') 56 $d[] = (int) substr($l, $c + 1, strpos($l, ' ', $c + 2) - ($c + 1));
|
/PHP-8.1/ext/dom/tests/ |
H A D | bug80268.phpt | 14 var_dump(strpos($html, '<p>foo</p>') !== false); 20 var_dump(strpos($html, '<p>foo</p>') !== false);
|
H A D | bug80268_2.phpt | 14 var_dump(strpos($html, '<p>foo</p>') !== false); 20 var_dump(strpos($html, '<p>foo</p>') !== false);
|
/PHP-8.1/ext/openssl/tests/ |
H A D | bug36732.phpt | 28 if (strpos($str, 'Requested Extensions:')) { 32 if (strpos($str, 'X509v3 extensions:')) {
|
/PHP-8.1/ext/pdo/tests/ |
H A D | bug_71885.phpt | 29 var_dump(strpos($e->getMessage(), "?") !== false); 36 var_dump(strpos($e->getMessage(), "?") !== false); 47 var_dump(strpos($e->getMessage(), "?") !== false);
|
/PHP-8.1/ext/phar/ |
H A D | makestub.php | 26 $webs = substr($s, 0, strpos($s, "000")); 28 $s1 = substr($s, 0, strpos($s, 'index.php')); 30 $s2 = substr($s2, 0, strpos($s2, 'XXXX'));
|
H A D | shortarc.php | 62 if (!strpos($_SERVER['REQUEST_URI'], $basename)) { 67 …$pt = substr($_SERVER['REQUEST_URI'], strpos($_SERVER['REQUEST_URI'], $basename) + strlen($basenam… 156 if (strpos ($sessionpath, ";") !== false) 157 $sessionpath = substr ($sessionpath, strpos ($sessionpath, ";")+1); 198 if (strpos(PHP_OS, 'WIN') !== false) {
|
/PHP-8.1/ext/pgsql/tests/ |
H A D | 80_bug36625.phpt | 32 if (strpos($line, '"select 1"') !== false || strpos($line, "'select 1'") !== false) {
|
H A D | skipif.inc | 37 if (strpos($out, '377') !== false) { 46 if (strpos($out, '377') === false) {
|
/PHP-8.1/ext/mysqli/tests/ |
H A D | mysqli_get_connection_stats.phpt | 26 if (strpos($k, "mem_") === 0) { 31 if (strpos($k, "mem_") === 0) { 46 if (strpos($k, "mem_") === 0) {
|
/PHP-8.1/ext/standard/tests/mail/ |
H A D | bug80751.phpt | 36 var_dump(strpos($header, 'Return-Path: joe@example.com') !== false); 38 var_dump(strpos($header, 'To: "<bob@example.com>" <info@mail.local>') !== false); 40 var_dump(strpos($header, 'From: "<bob@example.com>" <joe@example.com>') !== false); 42 … var_dump(strpos($header, 'Cc: "Lastname, Firstname\\\\" <admin@mail.local>') !== false);
|
/PHP-8.1/ext/mbstring/tests/ |
H A D | bug45923.phpt | 21 section('strpos' , "abc abc abc" , "abc"); 34 ------- strpos ----------- 47 strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 55 strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
|
/PHP-8.1/ext/iconv/tests/ |
H A D | iconv_strpos.phpt | 15 var_dump(strpos($haystk, $needle, $offset)); 51 strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
|