• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Codeigniter 4 and PHP 8

#1
Hello,

As PHP 8 first Beta was released I had the curiosity to check the framework's compatibility with it. To make it short it's pretty cool and good but I stepped on some new errors like `is_callable` function needing an Object instead of a string to work properly or errors being thrown if you declare parameters with default value before parameters without in functions. Of course the entire code was not covered by those small tests. 

Then I wondered if there were any reflexion on the PHP 8 compatibility with Codeigniter 4 and if yes, where could we check and / or contribute to it? If no, do you think we should start building compatibility right now or wait for the stable release by the end of the year?

Here's a reminder of PHP 8 Timetable : https://wiki.php.net/todo/php80

Thanks Smile
Reply

#2
Personally I don't think it's worth fixing anything until there are a release candidate out. As it's subjected to change (or be fixed), how that function behave anyway. Haven't seen any talk about PHP 8.0, personally I have never used for e.g. 7.0, I started using it officially in 7.1 when all bugs and quarks have sorted itself out. Or at least a bugfix release have been made.

Will personally only be doing small test with PHP 8.0 RC3 and on wards, if I have the time. Professionally, I won't test it before e.g 8.0.5 have been released, as it's time to jump ship and skip 7.4 and go from 7.3 into 8.0.
Reply

#3
@ViLar,
Quote:Then I wondered if there were any reflexion on the PHP 8 compatibility with Codeigniter 4 and if yes, where could we check and / or contribute to it? If no, do you think we should start building compatibility right now or wait for the stable release by the end of the year?

I had a quick search at downloading and installing onto a Ubuntu 18.04 system and could not find "sudo apt install php80-beta..." and it is so long ago that I built from scratch that I was not able to compile the download Sad

I'm looking forward to testing especially since I use a 100% strict_types system folder.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.