summaryrefslogtreecommitdiff
path: root/Zend/zend_inheritance.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2016-05-06 09:48:58 +0300
committerDmitry Stogov <dmitry@zend.com>2016-05-06 10:47:58 +0300
commit37c8711f4922b0160d569f491867cc1fe58897a9 (patch)
treecd2cc1f081809981857bf0c79b7c56a69a251610 /Zend/zend_inheritance.c
parentc19cb70dac3bd4476660d50360f8912ec0b03ebe (diff)
downloadphp-git-37c8711f4922b0160d569f491867cc1fe58897a9.tar.gz
Fixed typo
Diffstat (limited to 'Zend/zend_inheritance.c')
-rw-r--r--Zend/zend_inheritance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_inheritance.c b/Zend/zend_inheritance.c
index 42283f94dc..edb2bbe5af 100644
--- a/Zend/zend_inheritance.c
+++ b/Zend/zend_inheritance.c
@@ -660,7 +660,7 @@ static void do_inherit_property(zend_property_info *parent_info, zend_string *ke
int parent_num = OBJ_PROP_TO_NUM(parent_info->offset);
int child_num = OBJ_PROP_TO_NUM(child_info->offset);
- /* Don't keep default properties in GC (thry may be freed by opcache) */
+ /* Don't keep default properties in GC (they may be freed by opcache) */
zval_ptr_dtor_nogc(&(ce->default_properties_table[parent_num]));
ce->default_properties_table[parent_num] = ce->default_properties_table[child_num];
ZVAL_UNDEF(&ce->default_properties_table[child_num]);