mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Remove unnecessary _IS_BOOL case (#12230)
This can never be executed because booleans are handled in a special case at the top of sxe_object_cast_ex().
This commit is contained in:
parent
bae30682b8
commit
695ec3c97e
1 changed files with 0 additions and 3 deletions
|
@ -1805,9 +1805,6 @@ static zend_result cast_object(zval *object, int type, char *contents)
|
||||||
case IS_STRING:
|
case IS_STRING:
|
||||||
convert_to_string(object);
|
convert_to_string(object);
|
||||||
break;
|
break;
|
||||||
case _IS_BOOL:
|
|
||||||
convert_to_boolean(object);
|
|
||||||
break;
|
|
||||||
case IS_LONG:
|
case IS_LONG:
|
||||||
convert_to_long(object);
|
convert_to_long(object);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue