diff options
author | Nikita Popov <nikic@php.net> | 2016-12-22 12:47:29 +0100 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2016-12-22 12:47:29 +0100 |
commit | 175b9f67f6780378ed60a43cb8a21fd85d7eaad5 (patch) | |
tree | 718b42d63fa2ebacc0981e6df6850753199efe6b | |
parent | 728502fc2978dcf9286ac049a5dbfa74187c9746 (diff) | |
parent | 25c96f92f4182711e81ea982f3d5f3e3259e5d9c (diff) | |
download | php-git-175b9f67f6780378ed60a43cb8a21fd85d7eaad5.tar.gz |
Merge branch 'PHP-7.0' into 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 8f936bb5e0..63100b3507 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); } |