1
0
mirror of https://github.com/php/php-src.git synced 2026-04-03 06:02:23 +02:00

fixed type inference mistake (typo)

This commit is contained in:
Dmitry Stogov
2016-04-01 20:29:54 +03:00
parent 34d3827ecc
commit 82050dfd3c

View File

@@ -2314,7 +2314,7 @@ static void zend_update_type_info(const zend_op_array *op_array,
if ((t1 & MAY_BE_STRING) && (t2 & MAY_BE_STRING)) {
tmp |= MAY_BE_STRING;
}
if ((t1 & (MAY_BE_ANY-MAY_BE_STRING)) || (t1 & (MAY_BE_ANY-MAY_BE_STRING))) {
if ((t1 & (MAY_BE_ANY-MAY_BE_STRING)) || (t2 & (MAY_BE_ANY-MAY_BE_STRING))) {
tmp |= MAY_BE_LONG;
}
UPDATE_SSA_TYPE(tmp, ssa_ops[i].result_def);