diff options
author | Dmitry Stogov <dmitry@zend.com> | 2017-11-02 14:13:28 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2017-11-02 14:13:28 +0300 |
commit | b59c9fb45baa5682e351c96c8e72c68ebc08298d (patch) | |
tree | a5140fd0104cd15dc017479e58413df253f7056b /sapi/phpdbg/phpdbg.c | |
parent | 87a72e7e625ae69c0d2637cd202f0d80672485c8 (diff) | |
download | php-git-b59c9fb45baa5682e351c96c8e72c68ebc08298d.tar.gz |
Added exceptions for ZEND_RC_DEBUG
Diffstat (limited to 'sapi/phpdbg/phpdbg.c')
-rw-r--r-- | sapi/phpdbg/phpdbg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index b212679ab9..2eefb18d94 100644 --- a/sapi/phpdbg/phpdbg.c +++ b/sapi/phpdbg/phpdbg.c @@ -2096,6 +2096,7 @@ phpdbg_out: if (PHPDBG_G(exec) && strcmp("Standard input code", PHPDBG_G(exec)) == SUCCESS) { /* i.e. execution context has been read from stdin - back it up */ phpdbg_file_source *data = zend_hash_str_find_ptr(&PHPDBG_G(file_sources), PHPDBG_G(exec), PHPDBG_G(exec_len)); backup_phpdbg_compile = zend_string_alloc(data->len + 2, 1); + GC_MAKE_PERSISTENT_LOCAL(backup_phpdbg_compile); sprintf(ZSTR_VAL(backup_phpdbg_compile), "?>%.*s", (int) data->len, data->buf); } |