summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg.h
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2016-10-01 18:54:44 +0100
committerBob Weinand <bobwei9@hotmail.com>2016-10-01 19:05:19 +0100
commit9d537951c5e4af5e453dd4d60e74dad039856b80 (patch)
tree4fe7f1c6e283886c2e9099234d32bf00dd7b766b /sapi/phpdbg/phpdbg.h
parent633b93817ea9636366f56898894aa18c4d6e485b (diff)
downloadphp-git-9d537951c5e4af5e453dd4d60e74dad039856b80.tar.gz
Add proper escape sequences and reading stdin from file in phpdbg run command
Diffstat (limited to 'sapi/phpdbg/phpdbg.h')
-rw-r--r--sapi/phpdbg/phpdbg.h3
1 files changed, 3 insertions, 0 deletions
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!) */