new ArrayObject($targetObject)
allows setting typed properties to invalid types
#9434
Labels
new ArrayObject($targetObject)
allows setting typed properties to invalid types
#9434
Description
The following code:
Resulted in this output:
But I expected this output instead:
Related to #9432
Discovered while reviewing #9354
PHP Version
PHP 7.4+
Operating System
No response
The text was updated successfully, but these errors were encountered: