Lines Matching refs:script_file
578 static int cli_seek_file_begin(zend_file_handle *file_handle, char *script_file) in cli_seek_file_begin() argument
580 FILE *fp = VCWD_FOPEN(script_file, "rb"); in cli_seek_file_begin()
582 php_printf("Could not open input file: %s\n", script_file); in cli_seek_file_begin()
586 zend_stream_init_fp(file_handle, fp, script_file); in cli_seek_file_begin()
613 char *script_file=NULL, *translated_path = NULL; in do_cli() local
707 if (exec_run || script_file) { in do_cli()
716 script_file = php_optarg; in do_cli()
723 } else if (script_file) { in do_cli()
727 script_file = php_optarg; in do_cli()
743 if (exec_direct || script_file) { in do_cli()
757 if (exec_run || script_file) { in do_cli()
859 !(script_file || in do_cli()
878 && !script_file in do_cli()
883 script_file=argv[php_optind]; in do_cli()
886 if (script_file) { in do_cli()
887 if (cli_seek_file_begin(&file_handle, script_file) != SUCCESS) { in do_cli()
891 if (VCWD_REALPATH(script_file, real_path)) { in do_cli()
894 script_filename = script_file; in do_cli()
1005 if (script_file) { in do_cli()
1006 if (cli_seek_file_begin(&file_handle, script_file) != SUCCESS) { in do_cli()