### Description The following code: ```php <?php const EXAMPLE = [...new ArrayObject()]; ``` Resulted in this output: ``` Warning: Uncaught Error: Only arrays and Traversables can be unpacked in ... ``` But I expected this output (something along these lines) instead: ``` Warning: Uncaught Error: Cannot unpack Traversables in constant expression in ... ``` This should be improved in php 8.3 ### PHP Version 8.1+ ### Operating System _No response_