Skip to content

Avoid accessing uninitialized variables/arrays #146

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

Closed
wants to merge 1 commit into from

Conversation

sebastian-meyer
Copy link

Newer PHP versions throw fatal errors when uninitialized variables or invalid array keys are accessed (while older versions just handled them as NULL).

This pull request adds some checks to avoid fatal errors.

@sebastian-meyer
Copy link
Author

Closing this, because there is a lot more to fix in AvailabilityPlus in order to run with PHP 8.3.

@sebastian-meyer sebastian-meyer deleted the patch-2 branch May 29, 2025 16:27
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.

1 participant