diff options
| author | Dmitry Stogov <dmitry@zend.com> | 2015-06-03 13:43:05 +0300 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@zend.com> | 2015-06-03 13:43:05 +0300 |
| commit | 6bcf121f5b990cbaee6324fb729b52e17a7bd7f2 (patch) | |
| tree | b5f0cbb95ed7768845b92d250fd6ff4e71d8c344 /Zend/zend_inheritance.c | |
| parent | c09698753e7d1d95299dca54c8ca888c885fd45b (diff) | |
| download | php-git-6bcf121f5b990cbaee6324fb729b52e17a7bd7f2.tar.gz | |
micro-optimization
Diffstat (limited to 'Zend/zend_inheritance.c')
| -rw-r--r-- | Zend/zend_inheritance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_inheritance.c b/Zend/zend_inheritance.c index f32c55aaef..608af74353 100644 --- a/Zend/zend_inheritance.c +++ b/Zend/zend_inheritance.c @@ -1451,7 +1451,7 @@ static void zend_do_traits_property_binding(zend_class_entry *ce) /* {{{ */ * then check whether the property is already there */ flags = property_info->flags; - if ((flags & ZEND_ACC_PPP_MASK) == ZEND_ACC_PUBLIC) { + if (flags & ZEND_ACC_PUBLIC) { prop_name = zend_string_copy(property_info->name); } else { const char *pname; |
