-
Notifications
You must be signed in to change notification settings - Fork 8
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
Made it working with PHP 8 #22
Conversation
changed "each" to "foreach" to make it work with php 8
changed "each" to "foreach" to work with php 8
Thank you very much @markussoeth! Have you tested to make sure it continue to work under PHP7 and older installations of PHPBB? |
Tried to get rid of the php 7.1 Test error. Had 2 whitespaces in the code. sorry |
It still worked for me under PHP 7 since the "foreach" function is available in PHP since PHP 4. Testing with older phpbb installations I did not. |
I haven't deployed this version in my server yet, but seeing the diff of the change, I was wondering if this is the right way to do it:
|
I don't know. But for me it seems to be a different between |
Patch for Issue #19