/PHP-7.4/main/ |
H A D | fopen_wrappers.c | 253 if (strncmp(resolved_basedir, resolved_name, resolved_basedir_len) == 0) { 268 if (strncmp(resolved_basedir, resolved_name, resolved_name_len) == 0) {
|
H A D | getopt.c | 114 …} else if (opts[php_optidx].opt_name && !strncmp(&argv[*optind][2], opts[php_optidx].opt_name, arg… in php_getopt()
|
H A D | main.c | 1105 if (strncmp(docref, "http://", 7)) { in php_verror()
|
H A D | php_variables.c | 119 …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 D | glob_wrapper.c | 206 if (!strncmp(path, "glob://", sizeof("glob://")-1)) { in php_glob_stream_opener()
|
H A D | streams.c | 1837 if ((*p == ':') && (n > 1) && (!strncmp("//", p+1, 2) || (n == 4 && !memcmp("data:", path, 5)))) {
|
H A D | transports.c | 102 if ((*p == ':') && (n > 1) && !strncmp("://", p, 3)) { in _php_stream_xport_create()
|
H A D | xp_socket.c | 899 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 D | run-tests.php | 1803 if ($bork_info === null && strncmp('--TEST--', $line, 8)) {
|
/PHP-7.4/sapi/apache2handler/ |
H A D | sapi_apache2.c | 154 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 D | cgi_main.c | 836 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 D | php_cli_server.c | 2160 if (strncmp(mime_type, "text/", 5) == 0) { in php_cli_server_begin_send_static()
|
/PHP-7.4/sapi/cli/tests/ |
H A D | bug73630.phpt | 11 var_dump(strncmp($_SERVER['REQUEST_URI'], "/overflow.php", strlen("/overflow.php")));
|
H A D | php_cli_server_004.phpt | 12 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 D | fpm_main.c | 673 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 D | fpm_php.c | 284 if (str && !strncmp(ZSTR_VAL(str), key, ZSTR_LEN(str))) { in fpm_php_get_string_from_table()
|
/PHP-7.4/sapi/litespeed/ |
H A D | lsapi_main.c | 1052 strncmp(ctx->path, ctx->doc_root, docroot_len) != 0; in lsapi_activate_user_ini_walk_down_the_path()
|
H A D | lsapilib.c | 2230 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 D | phpdbg_help.c | 199 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 D | console.c | 116 …return strlen(sapi_module.name) >= sizeof("cli") - 1 && !strncmp(sapi_module.name, "cli", sizeof("… in php_win32_console_is_cli_sapi()
|
H A D | sendmail.c | 751 …if ((headers_lc && (!strstr(headers_lc, "\r\nto:") && (strncmp(headers_lc, "to:", 3) != 0))) || !h… in PostHeader()
|