char *script_file=NULL;
zend_llist global_vars;
int interactive=0;
- char *exec_direct=NULL;
- char *param_error=NULL;
+ char *exec_direct=NULL;
+ char *param_error=NULL;
/* end of temporary locals */
#ifdef ZTS
zend_compiler_globals *compiler_globals;
/* Set some CLI defaults */
SG(options) |= SAPI_OPTION_NO_CHDIR;
- zend_alter_ini_entry("html_errors", 12, "0", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
+ zend_alter_ini_entry("html_errors", 12, "0", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
zend_alter_ini_entry("implicit_flush", 15, "1", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
zend_alter_ini_entry("max_execution_time", 19, "0", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
break;
#endif
case PHP_MODE_CLI_DIRECT:
- if (zend_eval_string(exec_direct, NULL, "Command line code" TSRMLS_CC) == FAILURE) {
- exit_status=254;
- }
+ if (zend_eval_string(exec_direct, NULL, "Command line code" TSRMLS_CC) == FAILURE) {
+ exit_status=254;
+ }
}
php_request_shutdown((void *) 0);
free(cli_sapi_module.php_ini_path_override);
}
-
} zend_catch {
exit_status = 255;
} zend_end_try();