-
-
Notifications
You must be signed in to change notification settings - Fork 189
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
[PHP8.1] Added some fixes for PHP 8.1 #1843
Conversation
Sorry, should have submitted these changes upstream to you guys. Policy on changes to CodeIgniter is clearer now so will bear that in mind. My fork is to support NixOS which updates quite quickly and php7 support was dropped in last month's release, hence the hacky changes. |
@mattmelling No worries. PR's are always welcome. Changes to CodeIgniter does make an upgrade more difficult, but as long as it fixes stuff... I did add an extra fix in profiler.php:496 compared to your fixes. |
Sure: https://github.com/AndreasK79/Cloudlog/pull/15 |
Found a few places that doesn't work:
They all fail with the same message:
Edit: Fixed with replacing output.php from CI github repo. |
Fix strlen stuff
Jepp. Also found some places. Will fix finding by finding. |
Fix for the maps: https://github.com/AndreasK79/Cloudlog/pull/16 |
That is also one way to fix it. I fetched the updated file from the CI repo and pushed. |
@phl0 did you find any more places that PHP8.1 didn't work? |
Ok I guess it also fixes the maps issue? If so I will just close my PR. |
@phl0 yes, it does. I thought you were looking into other stuff, sorry. |
No worries. Still clicking myself through stuff. |
Finished. The rest seems to work ok. But no guarantee :D |
Just tested your 8.1 branch on my PHP 7.4.3 installation. No issues ;-) |
seems OK to go into dev branch |
Credits to @mattmelling. I found these on his fork.
Everything seems to work ok on my local test.
@phl0 mind testing on 8.1?