Home
last modified time | relevance | path

Searched refs:strpos (Results 1 – 25 of 76) sorted by relevance

1234

/PHP-5.3/ext/standard/tests/strings/
H A Dstrpos.phpt2 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 Dstrpos_number.phpt2 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 Dbug63943.phpt2 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 Dbug40754.phpt20 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 Dbug45923.phpt9 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 Dmb_get_info.phpt42 ["strpos"]=>
106 ["strpos"]=>
132 ["strpos"]=>
/PHP-5.3/scripts/dev/
H A Dsearch_underscores.php38 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 Dbug41097.phpt9 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 Dupgrade-pcre.php21 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 Dskipif.inc8 if (strpos($v, 'Oracle Database') !== false)
10 else if (strpos($v, 'Oracle TimesTen') !== false)
H A Dminfo.phpt11 $r = strpos($v, 'OCI8 Support => enabled');
/PHP-5.3/Zend/tests/
H A Dbug47320.phpt13 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 Dmakestub.php26 $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 Dshortarc.php62 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 D80_bug36625.phpt30 if (strpos($line, '"select 1"') !== false || strpos($line, "'select 1'") !== false) {
/PHP-5.3/ext/openssl/tests/
H A Dbug36732.phpt31 if (strpos($str, 'Requested Extensions:')) {
35 if (strpos($str, 'X509v3 extensions:')) {
/PHP-5.3/ext/mysql/tests/
H A Dskipifnotmysqlnd.inc2 if (strpos(mysql_get_client_info(), 'mysqlnd') === false) {
/PHP-5.3/ext/mysqli/tests/
H A Dmysqli_get_connection_stats.phpt33 if (strpos($k, "mem_") === 0) {
38 if (strpos($k, "mem_") === 0) {
53 if (strpos($k, "mem_") === 0) {
/PHP-5.3/
H A Dserver-tests.php104 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 Dzend_vm_gen.php384 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 Dtime_nanosleep_error3.phpt5 if (strpos(strtoupper(PHP_OS), 'WIN') !== false) die("skip Test is not valid for Windows");
/PHP-5.3/ext/phar/tests/
H A Dphar_setdefaultstub.phpt118 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 Dphar_createdefaultstub.phpt98 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 Dparse_url_basic_010.phpt15 if (strpos($constantName, 'PHP_URL')===0) {
/PHP-5.3/ext/session/tests/
H A Dskipif.inc17 if (($p = strpos($save_path, ';')) !== false) {

Completed in 55 milliseconds

1234