/PHP-8.0/ext/standard/tests/strings/ |
H A D | strstr2.phpt | 2 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 D | strstr.phpt | 2 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") ); 92 var_dump( strstr("", NULL) ); 93 var_dump( strstr(NULL, NULL) ); 94 var_dump( strstr("a", NULL) ); 118 var_dump( strstr($str, "0") ); [all …]
|
H A D | strstr_variation1.phpt | 2 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 D | strings001.phpt | 2 Test whether strstr() and strrchr() are binary safe. 6 var_dump(strstr($s, "nic"));
|
/PHP-8.0/Zend/tests/ |
H A D | qm_assign_ref_unwrap_leak.phpt | 18 string(6) "strstr" 19 string(6) "strstr" 20 string(6) "strstr"
|
H A D | anon_class_name.phpt | 14 echo strstr(get_class($obj), "\0", true), "\n";
|
/PHP-8.0/ext/imap/tests/ |
H A D | bug63126.phpt | 16 if (strstr($err, 'GSSAPI') || strstr($err, 'Kerberos')) { 41 if (strstr($err, 'GSSAPI') || strstr($err, 'Kerberos')) {
|
/PHP-8.0/ext/curl/tests/ |
H A D | curl_copy_handle_basic_009.phpt | 17 var_dump(strstr(curl_getinfo($ch, CURLINFO_HEADER_OUT), "\r", true)); 20 var_dump(strstr(curl_getinfo($ch2, CURLINFO_HEADER_OUT), "\r", true));
|
/PHP-8.0/Zend/ |
H A D | zend_gdb.c | 124 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 D | zend_system_id.c | 50 if (strstr(PHP_VERSION, "-dev") != 0) { in zend_startup_system_id()
|
/PHP-8.0/ext/mysqli/tests/ |
H A D | mysqli_debug_mysqlnd_only.phpt | 75 if (!strstr($trace, 'SELECT * FROM test') && !strstr($trace, 'mysql_real_query')) 99 if (!strstr($trace, 'SELECT * FROM test') && !strstr($trace, 'mysql_real_query'))
|
H A D | mysqli_debug_append.phpt | 63 if (!strstr($trace, 'mysqli_debug.phpt test line')) 74 if (!strstr(file_get_contents($trace_file), $trace))
|
H A D | mysqli_debug_mysqlnd_control_string.phpt | 65 if (!strstr($trace, 'SELECT * FROM test') && !strstr($trace, 'mysql_real_query')) 155 if (count($test_functions['simple']) < 2 && !strstr($func, '::')) 157 else if (count($test_functions['doubledot']) < 2 && strstr($func, '::'))
|
/PHP-8.0/win32/ |
H A D | sendmail.c | 222 pos1 = strstr(lookup, "from:"); in TSendMail() 241 if (NULL == (pos2 = strstr(pos1, "\r\n"))) { in TSendMail() 485 …else if (headers && (pos1 = strstr(headers_lc, "cc:")) && ((pos1 == headers_lc) || (*(pos1-1) == '… in SendText() 490 if (NULL == (pos2 = strstr(pos1, "\r\n"))) { in SendText() 495 pos3 = strstr(pos2 + 2, "\r\n"); in SendText() 550 if ((pos1 = strstr(headers_lc, "bcc:")) && (pos1 == headers_lc || *(pos1-1) == '\n')) { in SendText() 555 if (NULL == (pos2 = strstr(pos1, "\r\n"))) { in SendText() 563 pos3 = strstr(pos2 + 2, "\r\n"); in SendText() 734 if (!xheaders || !strstr(headers_lc, "date:")) { in PostHeader() 742 if (!headers_lc || !strstr(headers_lc, "from:")) { in PostHeader() [all …]
|
/PHP-8.0/ext/opcache/tests/ |
H A D | jmp_elim_001.phpt | 10 $archName = (strstr($cpuArc, "64") || PHP_INT_SIZE === 8) ? "64" : "32";
|
/PHP-8.0/tests/strings/ |
H A D | 001.phpt | 25 echo "Testing strstr: "; 27 $found1 = strstr($test, chr(32)); 28 $found2 = strstr($test, "a "); 208 Testing strstr: passed
|
/PHP-8.0/sapi/cgi/tests/ |
H A D | include.inc | 12 if (strstr($version, "(cli)")) {
|
/PHP-8.0/ext/session/tests/ |
H A D | session_regenerate_id_cookie.phpt | 32 if (strstr($h, $target) !== FALSE) {
|
/PHP-8.0/ext/standard/tests/file/ |
H A D | fgetcsv_variation21.phpt | 23 if ( strstr($file_modes[$mode_counter], "r") ) { 37 if ( strstr($file_modes[$mode_counter], "r" ) ) {
|
H A D | bug69442.phpt | 20 if (strstr($output, "PTY (pseudoterminal) not supported on this system") !== false) {
|
H A D | fgetcsv_variation13.phpt | 21 if ( strstr($file_modes[$mode_counter], "r") ) { 35 if ( strstr($file_modes[$mode_counter], "r" ) ) {
|
H A D | fgetcsv_variation14.phpt | 21 if ( strstr($file_modes[$mode_counter], "r") ) { 35 if ( strstr($file_modes[$mode_counter], "r" ) ) {
|
H A D | fgetcsv_variation20.phpt | 23 if ( strstr($file_modes[$mode_counter], "r") ) { 37 if ( strstr($file_modes[$mode_counter], "r" ) ) {
|
/PHP-8.0/ext/soap/ |
H A D | php_http.c | 941 tmp = strstr(http_version," "); in make_http_soap_request() 946 tmp = strstr(tmp," "); in make_http_soap_request() 985 eqpos = strstr(cookie, "="); in make_http_soap_request() 986 sempos = strstr(cookie, ";"); in make_http_soap_request() 1008 sempos = strstr(options, ";"); in make_http_soap_request() 1009 if (strstr(options,"path=") == options) { in make_http_soap_request() 1012 } else if (strstr(options,"domain=") == options) { in make_http_soap_request() 1015 } else if (strstr(options,"secure") == options) { in make_http_soap_request() 1171 strstr(auth, "Digest") == auth && in make_http_soap_request() 1249 pos = strstr(content_type,";"); in make_http_soap_request()
|
/PHP-8.0/ext/phar/ |
H A D | func_interceptors.c | 43 if (!IS_ABSOLUTE_PATH(filename, filename_len) && !strstr(filename, "://")) { in PHAR_FUNC() 122 if (use_include_path || (!IS_ABSOLUTE_PATH(filename, filename_len) && !strstr(filename, "://"))) { in PHAR_FUNC() 252 if (use_include_path || (!IS_ABSOLUTE_PATH(filename, filename_len) && !strstr(filename, "://"))) { in PHAR_FUNC() 353 if (use_include_path || (!IS_ABSOLUTE_PATH(filename, filename_len) && !strstr(filename, "://"))) { in PHAR_FUNC() 596 if (!IS_ABSOLUTE_PATH(filename, filename_length) && !strstr(filename, "://")) { in phar_file_stat() 852 if (!IS_ABSOLUTE_PATH(filename, filename_len) && !strstr(filename, "://")) { in PharFileFunction() 919 if (!IS_ABSOLUTE_PATH(filename, filename_len) && !strstr(filename, "://")) { in PHAR_FUNC()
|