Home
last modified time | relevance | path

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

123456

/php-src/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
12 var_dump( strstr("tEst", "test") );
13 var_dump( strstr("teSt", "test") );
14 var_dump( strstr("", "") );
15 var_dump( strstr("a", "") );
16 var_dump( strstr("", "a") );
91 var_dump( strstr("", NULL) );
92 var_dump( strstr(NULL, NULL) );
93 var_dump( strstr("a", NULL) );
115 var_dump( strstr($str, "\0") );
[all …]
H A Dstrstr_variation1.phpt2 Test strstr() function : usage variations - complex strings containing other than 7-bit chars
9 var_dump( bin2hex( strstr($string, chr(128) ) ) );
11 var_dump( bin2hex( strstr($string, chr(255) ) ) );
13 var_dump( bin2hex( strstr($string, chr(256) ) ) );
H A Dstrings001.phpt2 Test whether strstr() and strrchr() are binary safe.
6 var_dump(strstr($s, "nic"));
/php-src/Zend/tests/
H A Dqm_assign_ref_unwrap_leak.phpt18 string(6) "strstr"
19 string(6) "strstr"
20 string(6) "strstr"
H A Danon_class_name.phpt14 echo strstr(get_class($obj), "\0", true), "\n";
/php-src/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-src/Zend/
H A Dzend_gdb.c124 s = strstr(buf, "TracerPid:"); in zend_gdb_present()
135 if (strstr(out, "gdb")) { in zend_gdb_present()
152 ret = (dbg && strstr(dbg->ki_comm, "gdb")); in zend_gdb_present()
H A Dzend_system_id.c50 if (strstr(PHP_VERSION, "-dev") != 0) { in zend_startup_system_id()
/php-src/ext/opcache/tests/opt/
H A Dgh14873.phpt34 $value = strstr($value, "needle", false);
39 $value = strstr("needles", $value, false);
44 $value = strstr("needles", "needle", $value);
150 0001 T1 = FRAMELESS_ICALL_3(strstr) CV0($value) string("needle")
163 0001 T1 = FRAMELESS_ICALL_3(strstr) string("needles") CV0($value)
176 0001 T1 = FRAMELESS_ICALL_3(strstr) string("needles") string("needle")
/php-src/ext/mysqli/tests/
H A Dmysqli_debug_mysqlnd_only.phpt71 if (!strstr($trace, 'SELECT * FROM test') && !strstr($trace, 'mysql_real_query'))
95 if (!strstr($trace, 'SELECT * FROM test') && !strstr($trace, 'mysql_real_query'))
H A Dmysqli_debug_append.phpt61 if (!strstr($trace, 'mysqli_debug.phpt test line'))
72 if (!strstr(file_get_contents($trace_file), $trace))
H A Dmysqli_debug_mysqlnd_control_string.phpt63 if (!strstr($trace, 'SELECT * FROM test') && !strstr($trace, 'mysql_real_query'))
153 if (count($test_functions['simple']) < 2 && !strstr($func, '::'))
155 else if (count($test_functions['doubledot']) < 2 && strstr($func, '::'))
/php-src/win32/
H A Dsendmail.c221 pos1 = strstr(lookup, "from:"); in TSendMail()
240 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()
735 if (!xheaders || !strstr(headers_lc, "date:")) { in PostHeader()
743 if (!headers_lc || !strstr(headers_lc, "from:")) { in PostHeader()
[all …]
/php-src/ext/opcache/tests/
H A Djmp_elim_001.phpt11 $archName = (strstr($cpuArc, "64") || PHP_INT_SIZE === 8) ? "64" : "32";
/php-src/tests/strings/
H A D001.phpt25 echo "Testing strstr: ";
27 $found1 = strstr($test, chr(32));
28 $found2 = strstr($test, "a ");
208 Testing strstr: passed
/php-src/sapi/cgi/tests/
H A Dinclude.inc13 if (strstr($version, "(cli)")) {
/php-src/ext/session/tests/
H A Dsession_regenerate_id_cookie.phpt36 if (strstr($h, $target) !== FALSE) {
/php-src/ext/standard/tests/file/
H A Dfgetcsv_variation21.phpt23 if ( strstr($file_modes[$mode_counter], "r") ) {
37 if ( strstr($file_modes[$mode_counter], "r" ) ) {
H A Dbug69442.phpt20 if (strstr($output, "PTY (pseudoterminal) not supported on this system") !== false) {
H A Dfgetcsv_variation14.phpt21 if ( strstr($file_modes[$mode_counter], "r") ) {
35 if ( strstr($file_modes[$mode_counter], "r" ) ) {
H A Dfgetcsv_variation20.phpt23 if ( strstr($file_modes[$mode_counter], "r") ) {
37 if ( strstr($file_modes[$mode_counter], "r" ) ) {
H A Dfgetcsv_variation13.phpt21 if ( strstr($file_modes[$mode_counter], "r") ) {
35 if ( strstr($file_modes[$mode_counter], "r" ) ) {
/php-src/ext/soap/
H A Dphp_http.c956 tmp = strstr(http_version," "); in make_http_soap_request()
961 tmp = strstr(tmp," "); in make_http_soap_request()
1010 char *eqpos = strstr(cookie, "="); in make_http_soap_request()
1011 char *sempos = strstr(cookie, ";"); in make_http_soap_request()
1033 sempos = strstr(options, ";"); in make_http_soap_request()
1034 if (strstr(options,"path=") == options) { in make_http_soap_request()
1037 } else if (strstr(options,"domain=") == options) { in make_http_soap_request()
1040 } else if (strstr(options,"secure") == options) { in make_http_soap_request()
1197 if (auth && strstr(auth, "Digest") == auth && Z_TYPE_P(digest) != IS_ARRAY in make_http_soap_request()
1270 pos = strstr(content_type,";"); in make_http_soap_request()
/php-src/ext/phar/
H A Dfunc_interceptors.c42 if (!IS_ABSOLUTE_PATH(filename, filename_len) && !strstr(filename, "://")) { in PHP_FUNCTION()
189 …if (use_include_path || (!IS_ABSOLUTE_PATH(ZSTR_VAL(filename), ZSTR_LEN(filename)) && !strstr(ZSTR… in PHP_FUNCTION()
252 …if (use_include_path || (!IS_ABSOLUTE_PATH(ZSTR_VAL(filename), ZSTR_LEN(filename)) && !strstr(ZSTR… in PHP_FUNCTION()
299 …if (use_include_path || (!IS_ABSOLUTE_PATH(ZSTR_VAL(filename), ZSTR_LEN(filename)) && !strstr(ZSTR… in PHP_FUNCTION()
487 if (!IS_ABSOLUTE_PATH(filename, filename_length) && !strstr(filename, "://")) { in phar_file_stat()
743 if (!IS_ABSOLUTE_PATH(filename, filename_len) && !strstr(filename, "://")) { in PharFileFunction()
809 if (!IS_ABSOLUTE_PATH(filename, filename_len) && !strstr(filename, "://")) { in PHP_FUNCTION()

Completed in 41 milliseconds

123456