Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is codeigniter 3 compatible with php version 8?

I have to migrate a codeigniter 3 based CRM from PHP version 7.4 to version 8.*. But as I explored about codeigniter 3 compatibility with php 8, I found few answers saying it's not compatible.

But this answers are old (around 1 to 2 year). Two references are: Codeigniter Forum codeigniter github

So, As reference is old. Is codeigniter 3 currently supports php version 8?

like image 203
MdFarzan Avatar asked Apr 27 '26 03:04

MdFarzan


1 Answers

According to the changelog here https://codeigniter.com/userguide3/changelog.html from version 3.1.12, CI3 has been updated for PHP 8.0 and 8.1 compatibility. The latest release (current version) is now 3.1.13

However, you may still run into small issues that they missed (e.g. someone posted an issue with the Pagination library here on SO last week that seemed to be caused by PHP 8 - How do I make CI Pagination first page url segment always appear? First page pagination with search query has an error message ).

like image 96
Marleen Avatar answered Apr 28 '26 16:04

Marleen