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

/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c680 size_t php_self_len; local
708 php_self_len = script_name_len + path_info_len;
709 php_self = do_alloca(php_self_len + 1, use_heap);
715 php_self_len = path_info_len;
720 php_self_len = strlen(script_name);
724 php_self_len = 0;
729 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) {
730 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array);
737 php_self_len
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c611 size_t php_self_len; local
625 php_self_len = script_name_len + path_info_len;
626 php_self = emalloc(php_self_len + 1);
637 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) {
638 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array);
643 php_self_len = strlen(php_self);
644 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) {
645 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_arra
[all...]

Completed in 5 milliseconds