File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2393,13 +2393,13 @@ static zend_always_inline int _zend_update_type_info(
2393
2393
if (!(t1 & (MAY_BE_ANY |MAY_BE_UNDEF |MAY_BE_CLASS ))
2394
2394
|| !(t2 & (MAY_BE_ANY |MAY_BE_UNDEF |MAY_BE_CLASS ))) {
2395
2395
tmp = 0 ;
2396
- if (ssa_op -> result_def >= 0 ) {
2396
+ if (ssa_op -> result_def >= 0 && !( ssa_var_info [ ssa_op -> result_def ]. type & MAY_BE_REF ) ) {
2397
2397
UPDATE_SSA_TYPE (tmp , ssa_op -> result_def );
2398
2398
}
2399
- if (ssa_op -> op1_def >= 0 ) {
2399
+ if (ssa_op -> op1_def >= 0 && !( ssa_var_info [ ssa_op -> op1_def ]. type & MAY_BE_REF ) ) {
2400
2400
UPDATE_SSA_TYPE (tmp , ssa_op -> op1_def );
2401
2401
}
2402
- if (ssa_op -> op2_def >= 0 ) {
2402
+ if (ssa_op -> op2_def >= 0 && !( ssa_var_info [ ssa_op -> op2_def ]. type & MAY_BE_REF ) ) {
2403
2403
UPDATE_SSA_TYPE (tmp , ssa_op -> op2_def );
2404
2404
}
2405
2405
return 1 ;
You can’t perform that action at this time.
0 commit comments