CodeIgniter Forums
Codeigniter 3.x vs PHP 8.x - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17)
+--- Thread: Codeigniter 3.x vs PHP 8.x (/showthread.php?tid=81275)



Codeigniter 3.x vs PHP 8.x - rednodias - 02-12-2022

Hello,
I just updated my local server to PHP 8.x
After that I got several errors on my script that works fine on PHP 7.x
Its all concern about system folder codes.
For example I got this error:

Code:
A PHP Error was encountered
Severity: 8192

Message: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated

Filename: core/Output.php

Line Number: 457

And I think maybe some of you guys, prepared a functional version of system folder and wants to share it ?

( Or I need to pass back to PHP 7 and always work on here? Its not good for future )
Thanks a lot.


RE: Codeigniter 3.x vs PHP 8.x - kenjis - 02-12-2022

CI3 does not support PHP8 yet.
It is now developing.
Check https://github.com/bcit-ci/CodeIgniter/tree/3.1-stable
Why don't you join to develop?


RE: Codeigniter 3.x vs PHP 8.x - Muzikant - 05-08-2022

I can confirm this bug (CI 3.1.13, PHP 8.1.5):
https://github.com/bcit-ci/CodeIgniter/issues/6119