-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Deprecate using null as an array offset and when calling array_key_exists()
#19511
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
base: master
Are you sure you want to change the base?
Deprecate using null as an array offset and when calling array_key_exists()
#19511
Conversation
b1629ed
to
6b521a3
Compare
472c3c6
to
baeda1f
Compare
baeda1f
to
a6d44e0
Compare
d5fd9e5
to
a602268
Compare
Still a few tests to fix but we're getting closer |
6f50c89
to
e508fcc
Compare
8f22921
to
dc5049b
Compare
c47e2b5
to
58878be
Compare
422c6e8
to
bf163af
Compare
7c574af
to
a1564b1
Compare
736aac0
to
1bf2dbd
Compare
ed3ac5b
to
8324606
Compare
8324606
to
95306bb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! This is okay on my side, but I would like for @nielsdos to confirm that whatever the issue was is now resolved. :)
bool(false) | ||
|
||
-- Iteration 20 -- | ||
|
||
Warning: Resource ID#%d used as offset, casting to integer (%d) in %s on line %d | ||
Warning: Resource ID#5 used as offset, casting to integer (5) in %s on line %d |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please continue to use the printf specifiers for the ressource ID
Part of #19468
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_using_values_null_as_an_array_offset_and_when_calling_array_key_exists
cc @Girgias