mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01: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:
@@ -1805,9 +1805,6 @@ static zend_result cast_object(zval *object, int type, char *contents)
|
||||
case IS_STRING:
|
||||
convert_to_string(object);
|
||||
break;
|
||||
case _IS_BOOL:
|
||||
convert_to_boolean(object);
|
||||
break;
|
||||
case IS_LONG:
|
||||
convert_to_long(object);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user