Home
last modified time | relevance | path

Searched refs:strncmp (Results 76 – 96 of 96) sorted by path

1234

/PHP-7.4/main/
H A Dfopen_wrappers.c253 if (strncmp(resolved_basedir, resolved_name, resolved_basedir_len) == 0) {
268 if (strncmp(resolved_basedir, resolved_name, resolved_name_len) == 0) {
H A Dgetopt.c114 …} else if (opts[php_optidx].opt_name && !strncmp(&argv[*optind][2], opts[php_optidx].opt_name, arg… in php_getopt()
H A Dmain.c1105 if (strncmp(docref, "http://", 7)) { in php_verror()
H A Dphp_variables.c119 …if (strncmp(var, "__Host-", sizeof("__Host-")-1) == 0 && strncmp(var_name, "__Host-", sizeof("__Ho… in php_register_variable_ex()
126 …if (strncmp(var, "__Secure-", sizeof("__Secure-")-1) == 0 && strncmp(var_name, "__Secure-", sizeof… in php_register_variable_ex()
/PHP-7.4/main/streams/
H A Dglob_wrapper.c206 if (!strncmp(path, "glob://", sizeof("glob://")-1)) { in php_glob_stream_opener()
H A Dstreams.c1837 if ((*p == ':') && (n > 1) && (!strncmp("//", p+1, 2) || (n == 4 && !memcmp("data:", path, 5)))) {
H A Dtransports.c102 if ((*p == ':') && (n > 1) && !strncmp("://", p, 3)) { in _php_stream_xport_create()
H A Dxp_socket.c899 if (strncmp(proto, "tcp", protolen) == 0) { in php_stream_generic_socket_factory()
901 } else if (strncmp(proto, "udp", protolen) == 0) { in php_stream_generic_socket_factory()
905 else if (strncmp(proto, "unix", protolen) == 0) { in php_stream_generic_socket_factory()
907 } else if (strncmp(proto, "udg", protolen) == 0) { in php_stream_generic_socket_factory()
/PHP-7.4/
H A Drun-tests.php1803 if ($bork_info === null && strncmp('--TEST--', $line, 8)) {
/PHP-7.4/sapi/apache2handler/
H A Dsapi_apache2.c154 if (sline && strlen(sline) > 12 && strncmp(sline, "HTTP/1.", 7) == 0 && sline[8] == ' ') { in php_apache_sapi_send_headers()
691 if (strncmp(r->handler, PHP_SOURCE_MAGIC_TYPE, sizeof(PHP_SOURCE_MAGIC_TYPE) - 1) == 0) { in php_handler()
/PHP-7.4/sapi/cgi/
H A Dcgi_main.c836 if (strncmp(s1, s2, s_len) == 0) {
1215 strncmp(env_server_software, "Microsoft-IIS", sizeof("Microsoft-IIS")-1) == 0 &&
1216 strncmp(env_path_info, env_script_name, strlen(env_script_name)) == 0
/PHP-7.4/sapi/cli/
H A Dphp_cli_server.c2160 if (strncmp(mime_type, "text/", 5) == 0) { in php_cli_server_begin_send_static()
/PHP-7.4/sapi/cli/tests/
H A Dbug73630.phpt11 var_dump(strncmp($_SERVER['REQUEST_URI'], "/overflow.php", strlen("/overflow.php")));
H A Dphp_cli_server_004.phpt12 php_cli_server_start('foreach($_SERVER as $k=>$v) { if (!strncmp($k, "HTTP", 4)) var_dump( $k . ":"…
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_main.c673 if (strncmp(s1, s2, s_len) == 0) { in php_cgi_ini_activate_user_config()
999 strncmp(env_server_software, "Microsoft-IIS", sizeof("Microsoft-IIS") - 1) == 0 && in init_request_info()
1000 strncmp(env_path_info, env_script_name, strlen(env_script_name)) == 0 in init_request_info()
H A Dfpm_php.c284 if (str && !strncmp(ZSTR_VAL(str), key, ZSTR_LEN(str))) { in fpm_php_get_string_from_table()
/PHP-7.4/sapi/litespeed/
H A Dlsapi_main.c1052 strncmp(ctx->path, ctx->doc_root, docroot_len) != 0; in lsapi_activate_user_ini_walk_down_the_path()
H A Dlsapilib.c2230 if ( strncmp( name, "HTTP_", 5 ) == 0 ) in LSAPI_GetEnv_r()
3801 if (!strncmp(*env, "LSAPI_", 6) || !strncmp( *env, "PHP_LSAPI_", 10 ) in unset_lsapi_envs()
3802 || (!strncmp( *env, "PHPRC=", 6 )&&(!s_uid))) in unset_lsapi_envs()
3893 if (strncmp(resolved_path, "/etc/", 5) == 0) in lsapi_check_path()
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_help.c199 if (!strncmp(c->name, key, len)) { in get_command()
253 if (!strncmp(cmd->name, param->str, param->len)) { in PHPDBG_COMMAND()
/PHP-7.4/win32/
H A Dconsole.c116 …return strlen(sapi_module.name) >= sizeof("cli") - 1 && !strncmp(sapi_module.name, "cli", sizeof("… in php_win32_console_is_cli_sapi()
H A Dsendmail.c751 …if ((headers_lc && (!strstr(headers_lc, "\r\nto:") && (strncmp(headers_lc, "to:", 3) != 0))) || !h… in PostHeader()

Completed in 110 milliseconds

1234