Welcome Guest, Not a member yet? Register   Sign In
Codeigniter 3.x vs PHP 8.x
#1

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.
Reply
#2

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?
Reply
#3

(This post was last modified: 05-08-2022, 05:15 AM by Muzikant.)

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




Theme © iAndrew 2016 - Forum software by © MyBB