-
Notifications
You must be signed in to change notification settings - Fork 7.8k
http_build_query type error is inaccurate #18400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I wonder if we should start deprecating the use of object properties as hashtables, as it is reasonably easy to get them with |
I don't know, does it cause that many issues? Here it's just the wording of the message that should be improved 🙂 |
Well, this issue still exists #10229 As it is nor really possible to determine how such an object should behave |
Memory unlocked... Sure, future material though independent from this issue 🙂 |
Objects are also accepted still, so the error message is misleading.
* PHP-8.4: Fix GH-18400: http_build_query type error is inaccurate
Description
The following code:
Resulted in this output:
But I expected this output instead:
Although
array|object
is also a bit inaccurate, so the exact wording needs to be thought throughPHP Version
8.4+
Operating System
No response
The text was updated successfully, but these errors were encountered: