Skip to content

Conversation

@Lemongrass3110
Copy link
Member

Fixes #256.

Changes proposed in this Pull Request:
Trying to use values of type null, bool, int, float or resource as an array (such as $null["key"]) will now generate a notice. This does not affect array accesses performed by list().
RFC: https://wiki.php.net/rfc/notice-for-non-valid-array-container

See also: https://raw.githubusercontent.com/php/php-src/PHP-7.4/UPGRADING

Trying to use values of type null, bool, int, float or resource as an
array (such as $null["key"]) will now generate a notice. This does not
affect array accesses performed by list().
RFC: https://wiki.php.net/rfc/notice-for-non-valid-array-container

See also: https://raw.githubusercontent.com/php/php-src/PHP-7.4/UPGRADING
@Lemongrass3110 Lemongrass3110 merged commit 19e6fcb into master Oct 28, 2025
7 checks passed
@Lemongrass3110 Lemongrass3110 deleted the hotfix/issue256 branch October 28, 2025 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error using PHP 7.4

3 participants