Home
last modified time | relevance | path

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

1234

/PHP-7.4/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"));
13 Deprecated: strpos(): Non-string needles will be interpreted as strings in the future. Use an expli…
16 Deprecated: strpos(): Non-string needles will be interpreted as strings in the future. Use an expli…
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.4/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.4/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
/PHP-7.4/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) {
H A Dtidy.php45 if (strpos($path, $exclude) !== false) {
114 if (strpos($code, '--WHITESPACE_SENSITIVE--') !== false) {
/PHP-7.4/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.4/ext/oci8/tests/
H A Dskipif.inc8 if (strpos($v, 'Oracle Database') !== false)
10 else if (strpos($v, 'Oracle TimesTen') !== false)
/PHP-7.4/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.4/ext/dom/tests/
H A Dbug80268.phpt13 var_dump(strpos($html, '<p>foo</p>') !== false);
19 var_dump(strpos($html, '<p>foo</p>') !== false);
H A Dbug80268_2.phpt13 var_dump(strpos($html, '<p>foo</p>') !== false);
19 var_dump(strpos($html, '<p>foo</p>') !== false);
/PHP-7.4/ext/pdo/tests/
H A Dbug_71885.phpt27 var_dump(strpos($e->getMessage(), "?") !== false);
34 var_dump(strpos($e->getMessage(), "?") !== false);
45 var_dump(strpos($e->getMessage(), "?") !== false);
/PHP-7.4/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.4/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));
H A Dbug80771.phpt13 var_dump(strpos($info, $credits) !== false);
/PHP-7.4/ext/openssl/tests/
H A Dbug36732.phpt30 if (strpos($str, 'Requested Extensions:')) {
34 if (strpos($str, 'X509v3 extensions:')) {
/PHP-7.4/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.4/ext/libxml/tests/
H A Dlibxml_disable_entity_loader_2.phpt29 var_dump(strpos(parseXML($xml), 'SECRET_DATA') !== false);
31 var_dump(strpos(parseXML($xml), 'SECRET_DATA') === false);
H A Dlibxml_disable_entity_loader.phpt30 var_dump(strpos(parseXML($xml), 'SECRET_DATA') !== false);
32 var_dump(strpos(parseXML($xml), 'SECRET_DATA') === false);
/PHP-7.4/ext/standard/tests/mail/
H A Dbug80751.phpt36 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-7.4/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) {

Completed in 38 milliseconds

1234