summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_list.c
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2016-10-05 12:20:06 +0200
committerBob Weinand <bobwei9@hotmail.com>2016-10-05 12:20:06 +0200
commitabfd811ea40cda928a70664b33e5c25f005b3e99 (patch)
treefcfe2ca59cddc6d4d474db72cae7bf8c75d1dde1 /sapi/phpdbg/phpdbg_list.c
parentcc2a0dd01899bcd6cfda557faecd4758544ad5b3 (diff)
parent4790da5475c80469eeaac777f3f04815648e3d96 (diff)
downloadphp-git-abfd811ea40cda928a70664b33e5c25f005b3e99.tar.gz
Merge branch 'PHP-7.0' into PHP-7.1
Diffstat (limited to 'sapi/phpdbg/phpdbg_list.c')
-rw-r--r--sapi/phpdbg/phpdbg_list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_list.c b/sapi/phpdbg/phpdbg_list.c
index a1403dbc30..dd0187cfbe 100644
--- a/sapi/phpdbg/phpdbg_list.c
+++ b/sapi/phpdbg/phpdbg_list.c
@@ -319,7 +319,7 @@ zend_op_array *phpdbg_init_compile_file(zend_file_handle *file, int type) {
if (op_array->vars) {
int i;
- /* un-intern these strings to prevent zend_restore_strings from invalidating our string pointers too early */
+ /* un-intern these strings to prevent zend_interned_strings_restore from invalidating our string pointers too early (in phpdbg allocated memory only gets freed after module shutdown) */
for (i = 0; i < op_array->last_var; i++) {
zend_string **s = op_array->vars + i;
if (ZSTR_IS_INTERNED(*s)) {