return;
}
- /* If $a in $a->foo=$c is UNDEF, treat it like NULL. There is no warning. */
- if ((var_info->type & MAY_BE_ANY) == 0) {
- op1 = &EG(uninitialized_zval);
- }
-
if (IS_BOT(op1)) {
SET_RESULT_BOT(result);
SET_RESULT_BOT(op1);
tmp |= MAY_BE_NULL;
}
} else if (opline->opcode == ZEND_ASSIGN_OBJ_OP) {
- if (orig & (MAY_BE_ANY - (MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_OBJECT))) {
- /* null and false (and empty string) are implicitly converted to object,
- * anything else results in a null return value. */
- tmp |= MAY_BE_NULL;
- }
-
/* The return value must also satisfy the property type */
if (prop_info) {
tmp &= zend_fetch_prop_type(script, prop_info, NULL);