/PHP-5.3/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") ); 133 var_dump( strpos("", NULL) ); 134 var_dump( strpos(NULL, NULL) ); 135 var_dump( strpos("a", NULL) ); 161 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
|
H A D | bug40754.phpt | 20 var_dump(strpos("abcde", "abc", $v)); 50 Warning: strpos(): Offset not contained in string in %s on line %d
|
/PHP-5.3/ext/mbstring/tests/ |
H A D | bug45923.phpt | 9 var_dump(strpos("abc abc abc", "abc", 0)); 10 var_dump(strpos("abc abc abc", "abc", 3)); 11 var_dump(strpos("abc abc abc", "abc", 6)); 12 var_dump(strpos("abc abc abc", "abc", 9)); 13 var_dump(strpos("abc abc abc", "abc", 11)); 14 var_dump(strpos("abc abc abc", "abc", 12)); 15 var_dump(strpos("abc abc abc", "abc", -1)); 16 var_dump(strpos("abc abc abc", "abc", -3)); 17 var_dump(strpos("abc abc abc", "abc", -6)); 97 Warning: strpos(): Offset not contained in string in %s on line %d [all …]
|
H A D | mb_get_info.phpt | 42 ["strpos"]=> 106 ["strpos"]=> 132 ["strpos"]=>
|
/PHP-5.3/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-5.3/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-5.3/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-5.3/ext/oci8/tests/ |
H A D | skipif.inc | 8 if (strpos($v, 'Oracle Database') !== false) 10 else if (strpos($v, 'Oracle TimesTen') !== false)
|
H A D | minfo.phpt | 11 $r = strpos($v, 'OCI8 Support => enabled');
|
/PHP-5.3/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-5.3/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-5.3/ext/pgsql/tests/ |
H A D | 80_bug36625.phpt | 30 if (strpos($line, '"select 1"') !== false || strpos($line, "'select 1'") !== false) {
|
/PHP-5.3/ext/openssl/tests/ |
H A D | bug36732.phpt | 31 if (strpos($str, 'Requested Extensions:')) { 35 if (strpos($str, 'X509v3 extensions:')) {
|
/PHP-5.3/ext/mysql/tests/ |
H A D | skipifnotmysqlnd.inc | 2 if (strpos(mysql_get_client_info(), 'mysqlnd') === false) {
|
/PHP-5.3/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-5.3/ |
H A D | server-tests.php | 104 if (strpos($setting, '=')!==false) { 318 if (strpos($line, ':')!==false) { 544 if (strpos($line, '=')!==false) { 730 …$ta = strpos($a, "{$this->cwd}/tests")===0 ? 1 + (strpos($a, "{$this->cwd}/tests/run-test")===0 ? … 731 …$tb = strpos($b, "{$this->cwd}/tests")===0 ? 1 + (strpos($b, "{$this->cwd}/tests/run-test")===0 ? … 819 if (strpos($file,$this->conf['TEST_PHP_SRCDIR'])==0) { 1399 if (strpos($line, ':')!==false) { 1452 if (strpos($line, ':')!==false) { 1500 if (strpos($this->conf['TEST_PHP_LOG_FORMAT'],'E') !== FALSE) { 1506 if (strpos($this->conf['TEST_PHP_LOG_FORMAT'],'O') !== FALSE) { [all …]
|
/PHP-5.3/Zend/ |
H A D | zend_vm_gen.php | 384 if (0 && strpos($code, '{') === 0) { 446 $del_free_op1 = (strpos($code, "free_op1") === false); 447 $del_free_op2 = (strpos($code, "free_op2") === false); 452 if ($del_free_op1 && strpos($dcl, "free_op1") !== false) { 457 if ($del_free_op2 && strpos($dcl, "free_op2") !== false) { 998 if (strpos($line,"ZEND_VM_HANDLER(") === 0) { 1029 } else if (strpos($line,"ZEND_VM_HELPER(") === 0) { 1046 } else if (strpos($line,"ZEND_VM_HELPER_EX(") === 0) { 1068 } else if (strpos($line,"ZEND_VM_EXPORT_HANDLER(") === 0) { 1079 } else if (strpos($line,"ZEND_VM_EXPORT_HELPER(") === 0) { [all …]
|
/PHP-5.3/ext/standard/tests/misc/ |
H A D | time_nanosleep_error3.phpt | 5 if (strpos(strtoupper(PHP_OS), 'WIN') !== false) die("skip Test is not valid for Windows");
|
/PHP-5.3/ext/phar/tests/ |
H A D | phar_setdefaultstub.phpt | 118 if (!strpos($_SERVER['REQUEST_URI'], $basename)) { 212 if (strpos ($sessionpath, ";") !== false) 213 $sessionpath = substr ($sessionpath, strpos ($sessionpath, ";")+1); 254 if (strpos(PHP_OS, 'WIN') !== false) { 413 if (!strpos($_SERVER['REQUEST_URI'], $basename)) { 507 if (strpos ($sessionpath, ";") !== false) 508 $sessionpath = substr ($sessionpath, strpos ($sessionpath, ";")+1); 549 if (strpos(PHP_OS, 'WIN') !== false) { 708 if (!strpos($_SERVER['REQUEST_URI'], $basename)) { 802 if (strpos ($sessionpath, ";") !== false) [all …]
|
H A D | phar_createdefaultstub.phpt | 98 if (!strpos($_SERVER['REQUEST_URI'], $basename)) { 192 if (strpos ($sessionpath, ";") !== false) 193 $sessionpath = substr ($sessionpath, strpos ($sessionpath, ";")+1); 234 if (strpos(PHP_OS, 'WIN') !== false) { 392 if (!strpos($_SERVER['REQUEST_URI'], $basename)) { 486 if (strpos ($sessionpath, ";") !== false) 487 $sessionpath = substr ($sessionpath, strpos ($sessionpath, ";")+1); 528 if (strpos(PHP_OS, 'WIN') !== false) { 694 if (!strpos($_SERVER['REQUEST_URI'], $basename)) { 788 if (strpos ($sessionpath, ";") !== false) [all …]
|
/PHP-5.3/ext/standard/tests/url/ |
H A D | parse_url_basic_010.phpt | 15 if (strpos($constantName, 'PHP_URL')===0) {
|
/PHP-5.3/ext/session/tests/ |
H A D | skipif.inc | 17 if (($p = strpos($save_path, ';')) !== false) {
|