/PHP-7.2/ext/standard/tests/strings/ |
H A D | strpos.phpt | 2 Test strpos() function 18 var_dump( strpos("tEst", "test") ); 19 var_dump( strpos("teSt", "test") ); 20 var_dump( @strpos("", "") ); 21 var_dump( @strpos("a", "") ); 22 var_dump( @strpos("", "a") ); 136 var_dump( strpos("", NULL) ); 137 var_dump( strpos(NULL, NULL) ); 138 var_dump( strpos("a", NULL) ); 164 var_dump( strpos($str, "0") ); [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 | bug63943.phpt | 2 Bug #63943 (Bad warning text from strpos() on empty needle) 5 strpos("lllllll", ''); 8 Warning: strpos(): Empty needle in %sbug63943.php on line %d
|
/PHP-7.2/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"); 21 string(6) "strpos"
|
/PHP-7.2/ext/opcache/tests/ |
H A D | bug76796.phpt | 7 disable_functions=strpos 13 var_dump(strpos('foo', 'bar')); 17 Warning: strpos() has been disabled for security reasons in %s on line %d
|
H A D | bug75729.phpt | 12 var_dump(strpos("foo", "o"));
|
/PHP-7.2/scripts/dev/ |
H A D | search_underscores.php | 38 if (strpos($ext, "_") !== false) { 47 if (strpos($c, "_") !== false) { 59 if (strpos(substr($method, substr($method, 0, 2) != "__" ? 0 : 2), "_") !== false) {
|
/PHP-7.2/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-7.2/ext/pcre/ |
H A D | upgrade-pcre.php | 21 if (strpos($newpcre, 'gz')) { 23 } elseif (strpos($newpcre, 'bz2')) { 29 $newpcre = substr($newpcre, 0, strpos($newpcre, '.tar'));
|
/PHP-7.2/ext/oci8/tests/ |
H A D | skipif.inc | 8 if (strpos($v, 'Oracle Database') !== false) 10 else if (strpos($v, 'Oracle TimesTen') !== false)
|
/PHP-7.2/Zend/tests/ |
H A D | bug47320.phpt | 13 if (!@strpos('no 2nd parameter')) { 25 $php_errormsg in function: strpos() expects at least 2 parameters, 1 given
|
/PHP-7.2/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-7.2/ext/standard/tests/general_functions/ |
H A D | proc_nice_basic-win.phpt | 48 strpos($t[0], ' ProcessId' ), 49 strpos($t[0], ' Priority ') 60 $d[] = (int) substr($l, $c + 1, strpos($l, ' ', $c + 2) - ($c + 1));
|
/PHP-7.2/ext/openssl/tests/ |
H A D | bug36732.phpt | 30 if (strpos($str, 'Requested Extensions:')) { 34 if (strpos($str, 'X509v3 extensions:')) {
|
/PHP-7.2/ext/pgsql/tests/ |
H A D | 80_bug36625.phpt | 30 if (strpos($line, '"select 1"') !== false || strpos($line, "'select 1'") !== false) {
|
H A D | skipif.inc | 32 if (strpos($out, '377') !== false) { 40 if (strpos($out, '377') === false) {
|
/PHP-7.2/ext/libxml/tests/ |
H A D | libxml_disable_entity_loader.phpt | 25 var_dump(strpos(parseXML($xml), 'SECRET_DATA') !== false); 27 var_dump(strpos(parseXML($xml), 'SECRET_DATA') === false);
|
/PHP-7.2/ext/mysqli/tests/ |
H A D | mysqli_get_connection_stats.phpt | 33 if (strpos($k, "mem_") === 0) { 38 if (strpos($k, "mem_") === 0) { 53 if (strpos($k, "mem_") === 0) {
|
/PHP-7.2/ |
H A D | server-tests.php | 96 if (strpos($setting, '=')!==false) { 310 if (strpos($line, ':')!==false) { 534 if (strpos($line, '=')!==false) { 720 …$ta = strpos($a, "{$this->cwd}/tests")===0 ? 1 + (strpos($a, "{$this->cwd}/tests/run-test")===0 ? … 721 …$tb = strpos($b, "{$this->cwd}/tests")===0 ? 1 + (strpos($b, "{$this->cwd}/tests/run-test")===0 ? … 806 if (strpos($file,$this->conf['TEST_PHP_SRCDIR'])==0) { 1386 if (strpos($line, ':')!==false) { 1421 $start = strpos($wanted_re, $r, $startOffset); 1424 $end = strpos($wanted_re, $r, $start+2); 1492 if (strpos($line, ':')!==false) { [all …]
|
/PHP-7.2/ext/mbstring/tests/ |
H A D | mb_get_info.phpt | 43 ["strpos"]=> 107 ["strpos"]=> 133 ["strpos"]=>
|
H A D | bug45923.phpt | 19 section('strpos' , "abc abc abc" , "abc"); 32 ------- strpos ----------- 46 Warning: strpos(): Offset not contained in string in %s on line %d 56 Warning: strpos(): Offset not contained in string in %s on line %d
|
/PHP-7.2/ext/sockets/tests/ |
H A D | bug49341.phpt | 8 if (PHP_OS !== 'Darwin' && false === strpos(PHP_OS, 'BSD')) {
|
/PHP-7.2/ext/xmlrpc/tests/ |
H A D | bug72155.phpt | 9 if (false !== strpos(PHP_OS, "WIN")) {
|