Home
last modified time | relevance | path

Searched refs:strstr (Results 1 – 25 of 140) sorted by relevance

123456

/PHP-7.0/ext/standard/tests/strings/
H A Dstrstr2.phpt2 strstr() - New parameter: before_needle
7 var_dump(strstr($email, '@'));
8 var_dump(strstr($email, '@', 1));
10 var_dump(strstr($email, '@'));
11 var_dump(strstr($email, '@', 1));
13 var_dump(strstr($email, '@'));
14 var_dump(strstr($email, '@', 1));
16 var_dump(strstr($email, '@'));
19 var_dump(strstr($email, 'e'));
21 var_dump(strstr($email, 'E'));
[all …]
H A Dstrstr.phpt2 Test strstr() function
17 var_dump( strstr("tEst", "test") );
18 var_dump( strstr("teSt", "test") );
19 var_dump( @strstr("", "") );
20 var_dump( @strstr("a", "") );
21 var_dump( @strstr("", "a") );
111 var_dump( strstr("", NULL) );
112 var_dump( strstr(NULL, NULL) );
113 var_dump( strstr("a", NULL) );
137 var_dump( strstr($str, "0") );
[all …]
H A Dstrings001.phpt2 Test whether strstr() and strrchr() are binary safe.
7 var_dump(strstr($s, "nic"));
H A Dstristr_basic.phpt6 Description: Case-insensitive strstr().
H A Dstristr_error.phpt7 Description: Case-insensitive strstr()
/PHP-7.0/Zend/tests/
H A Dqm_assign_ref_unwrap_leak.phpt18 string(6) "strstr"
19 string(6) "strstr"
20 string(6) "strstr"
/PHP-7.0/ext/imap/tests/
H A Dbug63126.phpt16 if (strstr($err, 'GSSAPI') || strstr($err, 'Kerberos')) {
38 if (strstr($err, 'GSSAPI') || strstr($err, 'Kerberos')) {
/PHP-7.0/ext/mysqli/tests/
H A Dmysqli_debug_mysqlnd_only.phpt76 if (!strstr($trace, 'SELECT * FROM test') && !strstr($trace, 'mysql_real_query'))
98 if (!strstr($trace, 'SELECT * FROM test') && !strstr($trace, 'mysql_real_query'))
H A Dmysqli_debug_append.phpt62 if (!strstr($trace, 'mysqli_debug.phpt test line'))
73 if (!strstr(file_get_contents($trace_file), $trace))
H A Dmysqli_debug_mysqlnd_control_string.phpt66 if (!strstr($trace, 'SELECT * FROM test') && !strstr($trace, 'mysql_real_query'))
156 if (count($test_functions['simple']) < 2 && !strstr($func, '::'))
158 else if (count($test_functions['doubledot']) < 2 && strstr($func, '::'))
/PHP-7.0/ext/mbstring/tests/
H A Dmb_get_info.phpt50 ["strstr"]=>
114 ["strstr"]=>
140 ["strstr"]=>
/PHP-7.0/win32/
H A Dsendmail.c248 pos1 = strstr(lookup, "from:"); in TSendMail()
267 if (NULL == (pos2 = strstr(pos1, "\r\n"))) { in TSendMail()
483 …else if (headers && (pos1 = strstr(headers_lc, "cc:")) && ((pos1 == headers_lc) || (*(pos1-1) == '… in SendText()
488 if (NULL == (pos2 = strstr(pos1, "\r\n"))) { in SendText()
538 if ((pos1 = strstr(headers_lc, "bcc:")) && (pos1 == headers_lc || *(pos1-1) == '\n')) { in SendText()
543 if (NULL == (pos2 = strstr(pos1, "\r\n"))) { in SendText()
716 if (!xheaders || !strstr(headers_lc, "date:")) { in PostHeader()
724 if (!headers_lc || !strstr(headers_lc, "from:")) { in PostHeader()
734 …if ((headers_lc && (!strstr(headers_lc, "\r\nto:") && (strncmp(headers_lc, "to:", 3) != 0))) || !h… in PostHeader()
/PHP-7.0/ext/xmlrpc/libxmlrpc/
H A Dacinclude.m48 strstr strpbrk strerror\
/PHP-7.0/tests/strings/
H A D001.phpt27 echo "Testing strstr: ";
29 $found1 = strstr($test, 32);
30 $found2 = strstr($test, "a ");
210 Testing strstr: passed
/PHP-7.0/ext/posix/tests/
H A Dposix_errno_variation2.phpt22 } while (strstr($pid, $result));
/PHP-7.0/ext/standard/
H A Dhttp_fopen_wrapper.c91 char *lc_header_start = strstr(lc_header_bag, lc_header_name); in strip_header()
474 if ((s = strstr(t, "user-agent:")) && in php_stream_url_wrap_http_ex()
479 if ((s = strstr(t, "host:")) && in php_stream_url_wrap_http_ex()
484 if ((s = strstr(t, "from:")) && in php_stream_url_wrap_http_ex()
489 if ((s = strstr(t, "authorization:")) && in php_stream_url_wrap_http_ex()
494 if ((s = strstr(t, "content-length:")) && in php_stream_url_wrap_http_ex()
499 if ((s = strstr(t, "content-type:")) && in php_stream_url_wrap_http_ex()
504 if ((s = strstr(t, "connection:")) && in php_stream_url_wrap_http_ex()
510 if (use_proxy && use_ssl && (s = strstr(t, "proxy-authorization:")) && in php_stream_url_wrap_http_ex()
/PHP-7.0/ext/soap/
H A Dphp_http.c921 tmp = strstr(http_version," "); in make_http_soap_request()
926 tmp = strstr(tmp," "); in make_http_soap_request()
949 cookie_itt = strstr(ZSTR_VAL(http_headers), "Set-Cookie: "); in make_http_soap_request()
964 eqpos = strstr(cookie, "="); in make_http_soap_request()
965 sempos = strstr(cookie, ";"); in make_http_soap_request()
987 sempos = strstr(options, ";"); in make_http_soap_request()
988 if (strstr(options,"path=") == options) { in make_http_soap_request()
991 } else if (strstr(options,"domain=") == options) { in make_http_soap_request()
994 } else if (strstr(options,"secure") == options) { in make_http_soap_request()
1148 strstr(auth, "Digest") == auth && in make_http_soap_request()
[all …]
/PHP-7.0/ext/standard/tests/file/
H A Dbug69442.phpt20 if (strstr($output, "pty pseudo terminal not supported on this system") !== false) {
H A Dfgetcsv_variation21.phpt28 if ( strstr($file_modes[$mode_counter], "r") ) {
42 if ( strstr($file_modes[$mode_counter], "r" ) ) {
/PHP-7.0/ext/soap/interop/
H A Dclient_round2_params.php385 $strstr = (object)array( variable
395 array('inputStruct' => $strstr));
409 )),$strstr);
/PHP-7.0/sapi/cgi/tests/
H A Dinclude.inc12 if (strstr($version, "(cli)")) {
/PHP-7.0/sapi/fpm/tests/
H A D017.phpt39 echo strstr($req, "Test Start");
H A D022-cve-2016-5385.phpt48 echo strstr($req, "Test Start");
/PHP-7.0/ext/session/tests/
H A Dsession_regenerate_id_cookie.phpt38 if (strstr($h, $target) !== FALSE) {
/PHP-7.0/ext/phar/
H A Dfunc_interceptors.c45 if (!IS_ABSOLUTE_PATH(filename, filename_len) && !strstr(filename, "://")) { in PHAR_FUNC()
119 if (use_include_path || (!IS_ABSOLUTE_PATH(filename, filename_len) && !strstr(filename, "://"))) { in PHAR_FUNC()
249 if (use_include_path || (!IS_ABSOLUTE_PATH(filename, filename_len) && !strstr(filename, "://"))) { in PHAR_FUNC()
350 if (use_include_path || (!IS_ABSOLUTE_PATH(filename, filename_len) && !strstr(filename, "://"))) { in PHAR_FUNC()
614 if (!IS_ABSOLUTE_PATH(filename, filename_length) && !strstr(filename, "://")) { in phar_file_stat()
908 if (!IS_ABSOLUTE_PATH(filename, filename_len) && !strstr(filename, "://")) { in PharFileFunction()
975 if (!IS_ABSOLUTE_PATH(filename, filename_len) && !strstr(filename, "://")) { in PHAR_FUNC()

Completed in 48 milliseconds

123456