We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://php.net/json_decode
>=7.2.0
dev-master
From PHP version 7.2.0 the associative parameter is a boolean nullable but in safe is only boolean. Is this an intended behavior or is this a bug?
7.2.0
associative
From the PHP doc:
associative When true, JSON objects will be returned as associative arrays; when false, JSON objects will be returned as objects. When null, JSON objects will be returned as associative arrays or objects depending on whether JSON_OBJECT_AS_ARRAY is set in the flags.
true
false
null
JSON_OBJECT_AS_ARRAY
The text was updated successfully, but these errors were encountered:
[json_decode] update function signature to match PHP 8.X, fixes #645
ed32dd9
8e8a0b4
No branches or pull requests
Function URL
https://php.net/json_decode
PHP Version
>=7.2.0
Safe Version
dev-master
Description
From PHP version
7.2.0
theassociative
parameter is a boolean nullable but in safe is only boolean.Is this an intended behavior or is this a bug?
From the PHP doc:
The text was updated successfully, but these errors were encountered: