Skip to content

Commit 49fcbb4

Browse files
committed
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3: Fixed wrong constant usage
2 parents c3f2364 + 9083e17 commit 49fcbb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/Optimizer/zend_ssa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ static void place_essa_pis(
448448
if ((pi = add_pi(arena, op_array, dfg, ssa, j, bt, var))) {
449449
pi_type_mask(pi, mask_for_type_check(type));
450450
}
451-
if (type != IS_RESOURCE) {
451+
if (type != MAY_BE_RESOURCE) {
452452
/* is_resource() may return false for closed resources */
453453
if ((pi = add_pi(arena, op_array, dfg, ssa, j, bf, var))) {
454454
pi_not_type_mask(pi, mask_for_type_check(type));

0 commit comments

Comments
 (0)