Home
last modified time | relevance | path

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

1234

/PHP-7.2/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") );
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 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
/PHP-7.2/Zend/tests/type_declarations/
H A Dcallable_003.phpt13 foo("strpos", 123, "strpos");
17 string(6) "strpos"
19 string(6) "strpos"
H A Dcallable_001.phpt15 foo("strpos");
21 string(6) "strpos"
/PHP-7.2/ext/opcache/tests/
H A Dbug76796.phpt7 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 Dbug75729.phpt12 var_dump(strpos("foo", "o"));
/PHP-7.2/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-7.2/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-7.2/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-7.2/ext/oci8/tests/
H A Dskipif.inc8 if (strpos($v, 'Oracle Database') !== false)
10 else if (strpos($v, 'Oracle TimesTen') !== false)
/PHP-7.2/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-7.2/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-7.2/ext/standard/tests/general_functions/
H A Dproc_nice_basic-win.phpt48 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 Dbug36732.phpt30 if (strpos($str, 'Requested Extensions:')) {
34 if (strpos($str, 'X509v3 extensions:')) {
/PHP-7.2/ext/pgsql/tests/
H A D80_bug36625.phpt30 if (strpos($line, '"select 1"') !== false || strpos($line, "'select 1'") !== false) {
H A Dskipif.inc32 if (strpos($out, '377') !== false) {
40 if (strpos($out, '377') === false) {
/PHP-7.2/ext/libxml/tests/
H A Dlibxml_disable_entity_loader.phpt25 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 Dmysqli_get_connection_stats.phpt33 if (strpos($k, "mem_") === 0) {
38 if (strpos($k, "mem_") === 0) {
53 if (strpos($k, "mem_") === 0) {
/PHP-7.2/
H A Dserver-tests.php96 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 Dmb_get_info.phpt43 ["strpos"]=>
107 ["strpos"]=>
133 ["strpos"]=>
H A Dbug45923.phpt19 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 Dbug49341.phpt8 if (PHP_OS !== 'Darwin' && false === strpos(PHP_OS, 'BSD')) {
/PHP-7.2/ext/xmlrpc/tests/
H A Dbug72155.phpt9 if (false !== strpos(PHP_OS, "WIN")) {

Completed in 78 milliseconds

1234