diff options
author | Nikita Popov <nikic@php.net> | 2016-12-22 12:47:50 +0100 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2016-12-22 12:47:50 +0100 |
commit | ce97ead3997c238f1566ee472ebc9b77e62124a5 (patch) | |
tree | 71caed93f27ee895c307399e31d0606f4766a8e6 | |
parent | d5a3838c65affe06958843ee115572351e6b41a3 (diff) | |
parent | 175b9f67f6780378ed60a43cb8a21fd85d7eaad5 (diff) | |
download | php-git-ce97ead3997c238f1566ee472ebc9b77e62124a5.tar.gz |
Merge branch 'PHP-7.1'
-rw-r--r-- | ext/opcache/ZendAccelerator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c index cdac09bcbd..9c45d605dd 100644 --- a/ext/opcache/ZendAccelerator.c +++ b/ext/opcache/ZendAccelerator.c @@ -585,7 +585,7 @@ static void accel_use_shm_interned_strings(void) for (j = 0; j < ce->constants_table.nNumUsed; j++) { q = ce->constants_table.arData + j; - if (!Z_TYPE(q->val) == IS_UNDEF) continue; + if (Z_TYPE(q->val) == IS_UNDEF) continue; if (q->key) { q->key = accel_new_interned_string(q->key); } @@ -595,7 +595,7 @@ static void accel_use_shm_interned_strings(void) /* constant hash keys */ for (idx = 0; idx < EG(zend_constants)->nNumUsed; idx++) { p = EG(zend_constants)->arData + idx; - if (!Z_TYPE(p->val) == IS_UNDEF) continue; + if (Z_TYPE(p->val) == IS_UNDEF) continue; if (p->key) { p->key = accel_new_interned_string(p->key); } |