Home
last modified time | relevance | path

Searched refs:php_self_len (Results 1 – 2 of 2) sorted by relevance

/PHP-8.0/sapi/fpm/fpm/
H A Dfpm_main.c547 size_t php_self_len; in sapi_cgi_register_variables() local
561 php_self_len = script_name_len + path_info_len; in sapi_cgi_register_variables()
562 php_self = emalloc(php_self_len + 1); in sapi_cgi_register_variables()
573 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) { in sapi_cgi_register_variables()
574 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array); in sapi_cgi_register_variables()
579 php_self_len = strlen(php_self); in sapi_cgi_register_variables()
580 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) { in sapi_cgi_register_variables()
581 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array); in sapi_cgi_register_variables()
/PHP-8.0/sapi/cgi/
H A Dcgi_main.c689 size_t php_self_len; in sapi_cgi_register_variables() local
717 php_self_len = script_name_len + path_info_len; in sapi_cgi_register_variables()
718 php_self = do_alloca(php_self_len + 1, use_heap); in sapi_cgi_register_variables()
724 php_self_len = path_info_len; in sapi_cgi_register_variables()
729 php_self_len = strlen(script_name); in sapi_cgi_register_variables()
733 php_self_len = 0; in sapi_cgi_register_variables()
738 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) { in sapi_cgi_register_variables()
739 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array); in sapi_cgi_register_variables()
746 php_self_len = strlen(php_self); in sapi_cgi_register_variables()
747 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) { in sapi_cgi_register_variables()
[all …]

Completed in 25 milliseconds