Home
last modified time | relevance | path

Searched refs:strcmp (Results 126 – 150 of 157) sorted by path

1234567

/PHP-7.4/ext/zlib/tests/
H A Dgzdeflate_basic1.phpt37 var_dump(strcmp(gzinflate($output), $data));
45 var_dump(strcmp(gzinflate($output), $smallstring));
H A Dgzinflate_length.phpt11 if (strcmp($original,$unpacked)==0) echo "Strings are equal\n";
14 if (strcmp($original,$unpacked)==0) echo "Strings are equal\n";
H A Dgzuncompress_basic1.phpt26 var_dump(strcmp($data, gzuncompress($compressed)));
/PHP-7.4/main/
H A DSAPI.c412 if (SG(request_info).request_method && !strcmp(SG(request_info).request_method, "HEAD")) { in sapi_activate_headers_only()
454 if (SG(request_info).request_method && !strcmp(SG(request_info).request_method, "HEAD")) { in sapi_activate()
466 && !strcmp(SG(request_info).request_method, "POST")) { in sapi_activate()
816 strcmp(SG(request_info).request_method, "HEAD") && in sapi_header_op()
817 strcmp(SG(request_info).request_method, "GET")) { in sapi_header_op()
1030 … if (strlen(sapi_module.name) == sizeof("cgi-fcgi") - 1 && !strcmp(sapi_module.name, "cgi-fcgi")) { in sapi_getenv()
H A Dfopen_wrappers.c152 if (strcmp(basedir, ".") || !VCWD_GETCWD(local_open_basedir, MAXPATHLEN)) {
H A Dmain.c132 if (!strcmp(facility, "LOG_AUTH") || !strcmp(facility, "auth") || !strcmp(facility, "security")) { in PHP_INI_MH()
144 if (!strcmp(facility, "LOG_CRON") || !strcmp(facility, "cron")) { in PHP_INI_MH()
150 if (!strcmp(facility, "LOG_DAEMON") || !strcmp(facility, "daemon")) { in PHP_INI_MH()
156 if (!strcmp(facility, "LOG_FTP") || !strcmp(facility, "ftp")) { in PHP_INI_MH()
162 if (!strcmp(facility, "LOG_KERN") || !strcmp(facility, "kern")) { in PHP_INI_MH()
168 if (!strcmp(facility, "LOG_LPR") || !strcmp(facility, "lpr")) { in PHP_INI_MH()
174 if (!strcmp(facility, "LOG_MAIL") || !strcmp(facility, "mail")) { in PHP_INI_MH()
186 if (!strcmp(facility, "LOG_NEWS") || !strcmp(facility, "news")) { in PHP_INI_MH()
192 if (!strcmp(facility, "LOG_SYSLOG") || !strcmp(facility, "syslog")) { in PHP_INI_MH()
198 if (!strcmp(facility, "LOG_USER") || !strcmp(facility, "user")) { in PHP_INI_MH()
[all …]
H A Dphp_content_types.c38 if (!strcmp(SG(request_info).request_method, "POST")) { in SAPI_POST_READER_FUNC()
H A Dphp_ini.c687 if (!(p = strrchr(namelist[i]->d_name, '.')) || (p && strcmp(p, ".ini"))) { in php_init_config()
H A Drfc1867.c391 if (!strcmp(line, boundary)) { in find_boundary()
/PHP-7.4/main/streams/
H A Dstreams.c1989 if (BG(CurrentLStatFile) && strcmp(path, BG(CurrentLStatFile)) == 0) {
1994 if (BG(CurrentStatFile) && strcmp(path, BG(CurrentStatFile)) == 0) {
H A Duserspace.c341 …if (FG(user_stream_current_filename) != NULL && strcmp(filename, FG(user_stream_current_filename))… in user_wrapper_opener()
435 …if (FG(user_stream_current_filename) != NULL && strcmp(filename, FG(user_stream_current_filename))… in user_wrapper_opendir()
/PHP-7.4/
H A Drun-tests.php1100 return strcmp($a, $b);
2650 if (!strcmp($output, $wanted)) {
2781 return !strcmp($l1, $l2);
/PHP-7.4/sapi/apache2handler/
H A Dsapi_apache2.c547 if (strcmp(r->protocol, "INCLUDED")) { in php_apache_ini_dtor()
589 if (ctx == NULL || (ctx && ctx->request_processed && !strcmp(r->protocol, "INCLUDED"))) { in php_handler()
605 …if (strcmp(r->handler, PHP_MAGIC_TYPE) && strcmp(r->handler, PHP_SOURCE_MAGIC_TYPE) && strcmp(r->h… in php_handler()
607 if (!AP2(xbithack) || strcmp(r->handler, "text/html") || !(r->finfo.protection & APR_UEXECUTE)) { in php_handler()
663 strcmp(parent_req->handler, PHP_MAGIC_TYPE) && in php_handler()
664 strcmp(parent_req->handler, PHP_SOURCE_MAGIC_TYPE) && in php_handler()
665 strcmp(parent_req->handler, PHP_SCRIPT)) { in php_handler()
677 …if (parent_req && parent_req->status != HTTP_OK && parent_req->status != 413 && strcmp(r->protocol… in php_handler()
/PHP-7.4/sapi/cgi/
H A Dcgi_main.c276 return strcmp(fe->name, se->name); in extension_name_cmp()
1246 strcmp(env_path_translated, script_path_translated) != 0) {
1310 strcmp(orig_script_name, env_path_info) != 0) {
1323 strcmp(orig_script_filename, pt) != 0) {
1397 strcmp(orig_script_name, env_script_name) != 0) {
1413 strcmp(script_path_translated, orig_script_filename) != 0)) {
/PHP-7.4/sapi/cli/
H A Dphp_cli.c214 return strcmp(fe->name, se->name); in extension_name_cmp()
877 strcmp(argv[php_optind-1],"--") in do_cli()
896 && strcmp(argv[php_optind-1],"--")) in do_cli()
957 if (strcmp(file_handle.filename, "Standard input code")) { in do_cli()
1106 if (!strcmp(reflection_what, "main")) { in do_cli()
H A Dphp_cli_server.c680 if (strcmp(key, "CONTENT_TYPE") == 0 || strcmp(key, "CONTENT_LENGTH") == 0) { in sapi_cli_server_register_entry_cb()
2507 …if (strcmp(errstr, php_cli_server_request_error_unexpected_eof) == 0 && client->parser.state == s_… in php_cli_server_recv_event_read_request()
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_conf.c1131 …dress && wp2->config->listen_address && *wp2->config->listen_address && !strcmp(wp->config->listen… in fpm_conf_process_all_pools()
1391 if (!strcmp(Z_STRVAL_P(name), "include")) { in fpm_conf_ini_parser_entry()
1453 if (!strcmp("env", Z_STRVAL_P(name))) { in fpm_conf_ini_parser_array()
1462 } else if (!strcmp("php_value", Z_STRVAL_P(name))) { in fpm_conf_ini_parser_array()
1466 } else if (!strcmp("php_admin_value", Z_STRVAL_P(name))) { in fpm_conf_ini_parser_array()
1470 } else if (!strcmp("php_flag", Z_STRVAL_P(name))) { in fpm_conf_ini_parser_array()
1474 } else if (!strcmp("php_admin_flag", Z_STRVAL_P(name))) { in fpm_conf_ini_parser_array()
H A Dfpm_env.c184 if (!strcmp(kv->key, "USER")) { in fpm_env_conf_wp()
189 if (!strcmp(kv->key, "HOME")) { in fpm_env_conf_wp()
H A Dfpm_main.c225 return strcmp(fe->name, se->name); in extension_name_cmp()
1080 strcmp(env_path_translated, script_path_translated) != 0) { in init_request_info()
1141 tflag = (slen != 0 && (!orig_path_info || strcmp(orig_path_info, path_info) != 0)); in init_request_info()
1155 strcmp(orig_script_name, env_path_info) != 0) { in init_request_info()
1170 if (snlen>slen && !strcmp(env_script_name+snlen-slen, path_info)) { in init_request_info()
1179 strcmp(orig_script_filename, pt) != 0) { in init_request_info()
1256 strcmp(orig_script_name, env_script_name) != 0) { in init_request_info()
1272 strcmp(script_path_translated, orig_script_filename) != 0)) { in init_request_info()
H A Dfpm_php.c88 if (!strcmp(name, "extension") && *value) { in fpm_php_apply_defines_ex()
98 if (!strcmp(name, "disable_functions") && *value) { in fpm_php_apply_defines_ex()
105 if (!strcmp(name, "disable_classes") && *value) { in fpm_php_apply_defines_ex()
252 if (strcmp(*p, path_ext) == 0) { in fpm_php_limit_extensions()
H A Dfpm_sockets.c158 if (!strcmp(ls->key, key)) { in fpm_sockets_hash_op()
H A Dfpm_status.c160 …if (fpm_status_ping_uri && fpm_status_ping_response && !strcmp(fpm_status_ping_uri, SG(request_inf… in fpm_status_handle_request()
177 if (fpm_status_uri && !strcmp(fpm_status_uri, SG(request_info).request_uri)) { in fpm_status_handle_request()
/PHP-7.4/sapi/litespeed/
H A Dlsapilib.c1127 ( strcmp( pEnv->pKey+1, "SUEXEC_AUTH" ) == 0 )) in lsapi_changeUGid()
1132 ( strcmp( pEnv->pKey+1, "SUEXEC_UGID" ) == 0 )) in lsapi_changeUGid()
2172 if ( strcmp( name, CGI_HEADERS[i] ) == 0 ) in GetHeaderVar()
2236 if ( strcmp( name, pBegin->pKey ) == 0 ) in LSAPI_GetEnv_r()
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg.c2104 …if (PHPDBG_G(exec) && strcmp("Standard input code", PHPDBG_G(exec)) == SUCCESS) { /* i.e. executio… in main()
H A Dphpdbg_eol.c39 …if (0 == strcmp(name, "CRLF") || 0 == strcmp(name, "crlf") || 0 == strcmp(name, "DOS") || 0 == str… in phpdbg_eol_global_update()
41 …} else if (0 == strcmp(name, "LF") || 0 == strcmp(name, "lf") || 0 == strcmp(name, "UNIX") || 0 ==… in phpdbg_eol_global_update()
43 …} else if (0 == strcmp(name, "CR") || 0 == strcmp(name, "cr") || 0 == strcmp(name, "MAC") || 0 == in phpdbg_eol_global_update()

Completed in 119 milliseconds

1234567