Lines Matching refs:script_file
576 static zend_result cli_seek_file_begin(zend_file_handle *file_handle, char *script_file) in cli_seek_file_begin() argument
578 FILE *fp = VCWD_FOPEN(script_file, "rb"); in cli_seek_file_begin()
580 fprintf(stderr, "Could not open input file: %s\n", script_file); in cli_seek_file_begin()
584 zend_stream_init_fp(file_handle, fp, script_file); in cli_seek_file_begin()
612 char *script_file=NULL, *translated_path = NULL; in do_cli() local
712 if (exec_run || script_file) { in do_cli()
721 script_file = php_optarg; in do_cli()
728 } else if (script_file) { in do_cli()
732 script_file = php_optarg; in do_cli()
752 if (exec_direct || script_file) { in do_cli()
766 if (exec_run || script_file) { in do_cli()
871 !(script_file || in do_cli()
892 && !script_file in do_cli()
897 script_file=argv[php_optind]; in do_cli()
900 if (script_file) { in do_cli()
902 if (cli_seek_file_begin(&file_handle, script_file) == FAILURE) { in do_cli()
906 if (VCWD_REALPATH(script_file, real_path)) { in do_cli()
909 script_filename = script_file; in do_cli()
910 php_self = script_file; in do_cli()
1005 if (!exec_run && script_file) { in do_cli()
1027 if (script_file) { in do_cli()
1028 if (cli_seek_file_begin(&file_handle, script_file) == FAILURE) { in do_cli()
1145 script_file = NULL; in do_cli()