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

/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c629 size_t php_self_len; local
657 php_self_len = script_name_len + path_info_len;
658 php_self = do_alloca(php_self_len + 1, use_heap);
664 php_self_len = path_info_len;
669 php_self_len = strlen(script_name);
673 php_self_len = 0;
678 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) {
679 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array);
686 php_self_len
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c566 size_t php_self_len; local
580 php_self_len = script_name_len + path_info_len;
581 php_self = emalloc(php_self_len + 1);
592 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) {
593 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_array);
598 php_self_len = strlen(php_self);
599 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) {
600 php_register_variable_safe("PHP_SELF", php_self, php_self_len, track_vars_arra
[all...]

Completed in 6 milliseconds