-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
Fatal error with php 7.4RC3 #286
Comments
I thought that we already fixed another PHP 7.4-RC issue but was not able to find one. Which F3 version are you using? I'll have a look. The relevant section in the manual: Ternary Operator. |
I'm on
|
According to the Would you like a PR? |
The bug is no longer present in the |
Ho you're right, just discovered the parenthesis in master branch! BTW I naivelly have put the parenthesis the other way, but I've not tested anything. Sorry to make you loose your time. |
A fatal error is returned when loading
f3
withphp 7.4RC3
.Step to reproduce
Notes
No line number is returned by php, but seems to happens there https://github.com/bcosca/fatfree-core/blob/master/base.php#L993-L995.
It don't know the legacy php <= 7.3 behavior. How should it be fixed?
The text was updated successfully, but these errors were encountered: