Fn is keyword in PHP 7.4 and throws a fatal error #134
Labels
No labels
actions
bug
complicated
database
dependencies
documentation
downstream
duplicate
enhancement
feature
fixed already
front-end
idea
internal
invalid
investigating
javascript
low priority
milestone
minor bug
needs info
networking
nice to have
pcntl
php
question
suggestion
sync
threading
ui
ux
web
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
bcarrella/libremail#134
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
php7.4 Fn is keyword,Fatal error
To Reproduce
Steps to reproduce the behavior:
Expected behavior
PHP Parse error: syntax error, unexpected 'Fn' (T_FN), expecting '{' in /home/www/webmail/libremail-master/sync/src/Functions.php on line 3
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
php7.4 exec install error, change libremail-master/sync/src/Functions.php namespace can fix it
Thank you @mafa1993. I'm unfamiliar with this error, I actually have not tested this at all in PHP 7.4 Does this mean the namespace "Fn" is not valid? If that's the case, that might be a larger-scale update for me. Those Fn/xyz() functions are used pretty much everywhere unfortunately.
change namespce Fn to another will solved this problem
Related to #139, working on this one soon
Completed in #141