-
-
Notifications
You must be signed in to change notification settings - Fork 212
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
Hard crash in PHP 7.4 #234
Comments
See #228 |
thankz |
1 similar comment
thankz |
thankz I ran |
salamat <3 |
This is what you want to write. Watch the format!! if ($previous != null && $previous['type'] === EmailLexer::S_BACKSLASH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Validating any email address in PHP 7.4 raises exception "Trying to access array offset on value of type null" in Parser.php at line 147
This is result of $previous being null for first character in string and new PHP 7.4 behavior "Trying to use values of type null, bool, int, float or resource as an array (such as $null["key"]) will now generate a notice"
Fix is to check for null...
The text was updated successfully, but these errors were encountered: