From 9d537951c5e4af5e453dd4d60e74dad039856b80 Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Sat, 1 Oct 2016 18:54:44 +0100 Subject: Add proper escape sequences and reading stdin from file in phpdbg run command --- sapi/phpdbg/phpdbg.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sapi/phpdbg/phpdbg.h') diff --git a/sapi/phpdbg/phpdbg.h b/sapi/phpdbg/phpdbg.h index c77bc1c530..1879e62252 100644 --- a/sapi/phpdbg/phpdbg.h +++ b/sapi/phpdbg/phpdbg.h @@ -300,6 +300,9 @@ ZEND_BEGIN_MODULE_GLOBALS(phpdbg) char *buffer; /* buffer */ zend_bool last_was_newline; /* check if we don't need to output a newline upon next phpdbg_error or phpdbg_notice */ + FILE *stdin_file; /* FILE pointer to stdin source file */ + php_stream *(*orig_url_wrap_php)(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC); + char input_buffer[PHPDBG_MAX_CMD]; /* stdin input buffer */ int input_buflen; /* length of stdin input buffer */ phpdbg_signal_safe_mem sigsafe_mem; /* memory to use in async safe environment (only once!) */ -- cgit v1.2.1