Lines Matching refs:php_self
326 static char *php_self = ""; variable
340 len = strlen(php_self); in sapi_cli_register_variables()
341 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, len, &len)) { in sapi_cli_register_variables()
342 php_register_variable("PHP_SELF", php_self, track_vars_array); in sapi_cli_register_variables()
344 if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_NAME", &php_self, len, &len)) { in sapi_cli_register_variables()
345 php_register_variable("SCRIPT_NAME", php_self, track_vars_array); in sapi_cli_register_variables()
906 php_self = script_file; in do_cli()
913 php_self = "Standard input code"; in do_cli()
916 zend_stream_init_fp(&file_handle, stdin, php_self); in do_cli()
926 SG(request_info).path_translated = translated_path ? translated_path : php_self; in do_cli()
927 argv[php_optind-1] = php_self; in do_cli()
969 zend_printf("No syntax errors detected in %s\n", php_self); in do_cli()
972 zend_printf("Errors parsing %s\n", php_self); in do_cli()