Skip to content

Commit ce97ead

Browse files
committed
Merge branch 'PHP-7.1'
2 parents d5a3838 + 175b9f6 commit ce97ead

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/opcache/ZendAccelerator.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ static void accel_use_shm_interned_strings(void)
585585

586586
for (j = 0; j < ce->constants_table.nNumUsed; j++) {
587587
q = ce->constants_table.arData + j;
588-
if (!Z_TYPE(q->val) == IS_UNDEF) continue;
588+
if (Z_TYPE(q->val) == IS_UNDEF) continue;
589589
if (q->key) {
590590
q->key = accel_new_interned_string(q->key);
591591
}
@@ -595,7 +595,7 @@ static void accel_use_shm_interned_strings(void)
595595
/* constant hash keys */
596596
for (idx = 0; idx < EG(zend_constants)->nNumUsed; idx++) {
597597
p = EG(zend_constants)->arData + idx;
598-
if (!Z_TYPE(p->val) == IS_UNDEF) continue;
598+
if (Z_TYPE(p->val) == IS_UNDEF) continue;
599599
if (p->key) {
600600
p->key = accel_new_interned_string(p->key);
601601
}

0 commit comments

Comments
 (0)