Codeigniter 3 and PHP 8.0 Compatibility

PHP 8.0 was released recently at the time of this post is written.

Surprisingly, Codeigniter 3 does not generate any error message this far in PHP 8.0.

Meanwhile, Codeigniter 4 generates some user warning in PHP 8.0.

Fortunately my projects are still in Codeigniter 3, so i can use them with PHP 8.0.

Update :

  • There is bug in session flashdata : the data won’t be deleted after retrieved.


  1. @Krishan : You are correct, session flashdata won’t be deleted after retrieved.
    Regarding cart library, i do not use it so i have not tested it.

Leave a comment

Your email address will not be published. Required fields are marked *