Home
last modified time | relevance | path

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

123456

/PHP-7.4/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.
6 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.4/Zend/tests/
H A Dqm_assign_ref_unwrap_leak.phpt18 string(6) "strstr"
19 string(6) "strstr"
20 string(6) "strstr"
/PHP-7.4/ext/imap/tests/
H A Dbug63126.phpt16 if (strstr($err, 'GSSAPI') || strstr($err, 'Kerberos')) {
38 if (strstr($err, 'GSSAPI') || strstr($err, 'Kerberos')) {
/PHP-7.4/ext/curl/tests/
H A Dcurl_copy_handle_basic_009.phpt17 var_dump(strstr(curl_getinfo($ch, CURLINFO_HEADER_OUT), "\r", true));
20 var_dump(strstr(curl_getinfo($ch2, CURLINFO_HEADER_OUT), "\r", true));
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_debug_mysqlnd_only.phpt76 if (!strstr($trace, 'SELECT * FROM test') && !strstr($trace, 'mysql_real_query'))
100 if (!strstr($trace, 'SELECT * FROM test') && !strstr($trace, 'mysql_real_query'))
H A Dmysqli_debug_append.phpt64 if (!strstr($trace, 'mysqli_debug.phpt test line'))
75 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.4/win32/
H A Dsendmail.c222 pos1 = strstr(lookup, "from:"); in TSendMail()
241 if (NULL == (pos2 = strstr(pos1, "\r\n"))) { in TSendMail()
484 …else if (headers && (pos1 = strstr(headers_lc, "cc:")) && ((pos1 == headers_lc) || (*(pos1-1) == '… in SendText()
489 if (NULL == (pos2 = strstr(pos1, "\r\n"))) { in SendText()
494 pos3 = strstr(pos2 + 2, "\r\n"); in SendText()
549 if ((pos1 = strstr(headers_lc, "bcc:")) && (pos1 == headers_lc || *(pos1-1) == '\n')) { in SendText()
554 if (NULL == (pos2 = strstr(pos1, "\r\n"))) { in SendText()
562 pos3 = strstr(pos2 + 2, "\r\n"); in SendText()
733 if (!xheaders || !strstr(headers_lc, "date:")) { in PostHeader()
741 if (!headers_lc || !strstr(headers_lc, "from:")) { in PostHeader()
[all …]
/PHP-7.4/ext/mbstring/tests/
H A Dmb_get_info.phpt51 ["strstr"]=>
115 ["strstr"]=>
141 ["strstr"]=>
/PHP-7.4/ext/opcache/tests/
H A Djmp_elim_001.phpt11 $archName = (strstr($cpuArc, "64") || PHP_INT_SIZE === 8) ? "64" : "32";
/PHP-7.4/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.4/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" ) ) {
H A Dfgetcsv_variation14.phpt26 if ( strstr($file_modes[$mode_counter], "r") ) {
40 if ( strstr($file_modes[$mode_counter], "r" ) ) {
H A Dfgetcsv_variation13.phpt26 if ( strstr($file_modes[$mode_counter], "r") ) {
40 if ( strstr($file_modes[$mode_counter], "r" ) ) {
/PHP-7.4/sapi/cgi/tests/
H A Dinclude.inc12 if (strstr($version, "(cli)")) {
/PHP-7.4/ext/session/tests/
H A Dsession_regenerate_id_cookie.phpt38 if (strstr($h, $target) !== FALSE) {
/PHP-7.4/ext/soap/
H A Dphp_http.c937 tmp = strstr(http_version," "); in make_http_soap_request()
942 tmp = strstr(tmp," "); in make_http_soap_request()
981 eqpos = strstr(cookie, "="); in make_http_soap_request()
982 sempos = strstr(cookie, ";"); in make_http_soap_request()
1004 sempos = strstr(options, ";"); in make_http_soap_request()
1005 if (strstr(options,"path=") == options) { in make_http_soap_request()
1008 } else if (strstr(options,"domain=") == options) { in make_http_soap_request()
1011 } else if (strstr(options,"secure") == options) { in make_http_soap_request()
1167 strstr(auth, "Digest") == auth && in make_http_soap_request()
1245 pos = strstr(content_type,";"); in make_http_soap_request()
/PHP-7.4/ext/phar/
H A Dfunc_interceptors.c43 if (!IS_ABSOLUTE_PATH(filename, filename_len) && !strstr(filename, "://")) { in PHAR_FUNC()
117 if (use_include_path || (!IS_ABSOLUTE_PATH(filename, filename_len) && !strstr(filename, "://"))) { in PHAR_FUNC()
247 if (use_include_path || (!IS_ABSOLUTE_PATH(filename, filename_len) && !strstr(filename, "://"))) { in PHAR_FUNC()
348 if (use_include_path || (!IS_ABSOLUTE_PATH(filename, filename_len) && !strstr(filename, "://"))) { in PHAR_FUNC()
592 if (!IS_ABSOLUTE_PATH(filename, filename_length) && !strstr(filename, "://")) { in phar_file_stat()
862 if (!IS_ABSOLUTE_PATH(filename, filename_len) && !strstr(filename, "://")) { in PharFileFunction()
929 if (!IS_ABSOLUTE_PATH(filename, filename_len) && !strstr(filename, "://")) { in PHAR_FUNC()
/PHP-7.4/ext/xmlrpc/libxmlrpc/
H A Dxml_to_soap.c59 return(strstr(soap_type, "SOAP-ENC:") || strstr(soap_type, "xsd:")) ? 1 : 0; in is_soap_type()
320 strstr(el->name, "esponse") ? xmlrpc_request_response : xmlrpc_request_call; in xml_element_to_SOAP_REQUEST_worker()
/PHP-7.4/ext/readline/
H A Dreadline_cli.c183 char *prompt_end = strstr(prompt_spec + 1, "`"); in cli_get_prompt()
530 class_name_end = strstr(text, "::"); in cli_completion_generator()
629 char *param = strstr(&line[1], "="); in readline_shell_run()

Completed in 44 milliseconds

123456