mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Cast of string to long/double can not produce exception
This commit is contained in:
parent
228dd01af3
commit
377e48b342
1 changed files with 1 additions and 1 deletions
|
@ -4208,7 +4208,7 @@ int zend_may_throw(const zend_op *opline, zend_op_array *op_array, zend_ssa *ssa
|
||||||
return (t1 & MAY_BE_OBJECT);
|
return (t1 & MAY_BE_OBJECT);
|
||||||
case IS_LONG:
|
case IS_LONG:
|
||||||
case IS_DOUBLE:
|
case IS_DOUBLE:
|
||||||
return (t1 & (MAY_BE_STRING|MAY_BE_OBJECT));
|
return (t1 & MAY_BE_OBJECT);
|
||||||
case IS_STRING:
|
case IS_STRING:
|
||||||
return (t1 & (MAY_BE_ARRAY|MAY_BE_OBJECT));
|
return (t1 & (MAY_BE_ARRAY|MAY_BE_OBJECT));
|
||||||
case IS_ARRAY:
|
case IS_ARRAY:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue