summaryrefslogtreecommitdiff
path: root/Zend/zend_compile.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2014-03-05 13:55:56 +0400
committerDmitry Stogov <dmitry@zend.com>2014-03-05 13:55:56 +0400
commit37337373287544f39d696c2fb357a56e99e6cecc (patch)
treede36b9e92ed66ada6c24179a3bd68695f603f00f /Zend/zend_compile.c
parentdc889b69ef8947a87a93a59a24013d972b313158 (diff)
downloadphp-git-37337373287544f39d696c2fb357a56e99e6cecc.tar.gz
Handle interned strings as non-refcounted scalars
Diffstat (limited to 'Zend/zend_compile.c')
-rw-r--r--Zend/zend_compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index ca9ee341f4..2113fb94fd 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -3771,7 +3771,7 @@ ZEND_API void zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent
}
for (i = 0; i < parent_ce->default_properties_count; i++) {
ZVAL_COPY_VALUE(&ce->default_properties_table[i], &parent_ce->default_properties_table[i]);
- if (IS_REFCOUNTED(Z_TYPE(ce->default_properties_table[i]))) {
+ if (Z_REFCOUNTED(ce->default_properties_table[i])) {
#ifdef ZTS
if (parent_ce->type != ce->type) {
zval *p;