### Description The following code: ```php <?php enum X{case A;} echo http_build_query(X::A); ``` Resulted in this output: ``` Uncaught TypeError: http_build_query(): Argument #1 ($data) must be of type array, X given ``` But I expected this output instead: ``` Uncaught TypeError: http_build_query(): Argument #1 ($data) must be of type array|object, X given ``` Although `array|object` is also a bit inaccurate, so the exact wording needs to be thought through ### PHP Version 8.4+ ### Operating System _No response_