diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2016-07-12 20:35:54 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2016-07-12 20:50:51 +0200 |
commit | ef6d0c8b6d0aec0e8a9f02fdd60197db244840a1 (patch) | |
tree | 98fef4379803d68fefd661044845cbafd6f7a004 /sapi/phpdbg/phpdbg_watch.c | |
parent | b31f8be143655260c9a83a0cd64b5b555244c525 (diff) | |
download | php-git-ef6d0c8b6d0aec0e8a9f02fdd60197db244840a1.tar.gz |
Fix phpdbg ZTS watchpoint+shutdown sequences & opcache+watchpoints
Diffstat (limited to 'sapi/phpdbg/phpdbg_watch.c')
-rw-r--r-- | sapi/phpdbg/phpdbg_watch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_watch.c b/sapi/phpdbg/phpdbg_watch.c index e01e9a787d..63af56793b 100644 --- a/sapi/phpdbg/phpdbg_watch.c +++ b/sapi/phpdbg/phpdbg_watch.c @@ -939,7 +939,7 @@ zend_string *phpdbg_watchpoint_change_collision_name(phpdbg_watchpoint_t *watch) } ZEND_HASH_FOREACH_PTR(&watch->elements, element) { if (element->flags & PHPDBG_WATCH_IMPLICIT) { - if ((watch->type == WATCH_ON_ZVAL || watch->type == WATCH_ON_BUCKET) && Z_REFCOUNTED(watch->backup.zv)) { + if ((watch->type == WATCH_ON_ZVAL || watch->type == WATCH_ON_BUCKET) && Z_TYPE(watch->backup.zv) > IS_STRING) { phpdbg_update_watch_element_watch(element->child); } continue; |