Skip to content

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

alexandre-daubois
Copy link
Member

@alexandre-daubois alexandre-daubois commented Aug 18, 2025

@alexandre-daubois alexandre-daubois force-pushed the array-key-exists-null branch 3 times, most recently from 472c3c6 to baeda1f Compare August 20, 2025 08:30
@alexandre-daubois alexandre-daubois force-pushed the array-key-exists-null branch 2 times, most recently from d5fd9e5 to a602268 Compare August 20, 2025 15:02
@alexandre-daubois
Copy link
Member Author

Still a few tests to fix but we're getting closer

@alexandre-daubois alexandre-daubois force-pushed the array-key-exists-null branch 2 times, most recently from 6f50c89 to e508fcc Compare August 21, 2025 06:54
@alexandre-daubois alexandre-daubois force-pushed the array-key-exists-null branch 4 times, most recently from 8f22921 to dc5049b Compare August 21, 2025 08:54
@alexandre-daubois alexandre-daubois force-pushed the array-key-exists-null branch 2 times, most recently from c47e2b5 to 58878be Compare August 21, 2025 11:50
@alexandre-daubois alexandre-daubois force-pushed the array-key-exists-null branch 17 times, most recently from 7c574af to a1564b1 Compare August 22, 2025 14:40
@alexandre-daubois alexandre-daubois force-pushed the array-key-exists-null branch 2 times, most recently from 736aac0 to 1bf2dbd Compare August 22, 2025 16:06
@alexandre-daubois alexandre-daubois marked this pull request as draft August 22, 2025 16:16
@alexandre-daubois alexandre-daubois force-pushed the array-key-exists-null branch 3 times, most recently from ed3ac5b to 8324606 Compare August 22, 2025 16:58
@alexandre-daubois alexandre-daubois marked this pull request as ready for review August 23, 2025 08:28
Copy link
Member

@Girgias Girgias left a 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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants