Welcome Guest, Not a member yet? Register   Sign In
Poll: Would you consider upgrading to PHP 8.0?
You do not have permission to vote in this poll.
Yes
91.89%
34 91.89%
No
8.11%
3 8.11%
Total 37 vote(s) 100%
* You voted for this item. [Show Results]

Surprised to see codeigniter 3.x running successfull with PHP 8.0 as well.
#9

(This post was last modified: 01-16-2021, 03:12 AM by CINewb.)

unplugged Wrote:Another Gotcha that doesen't affect CI but affects a lot of legacy code I look after is that the charming "STFU Operator" now doesen't STFU.
$variable = @$array['entry']; Now throws an error rather than containing "null" gaaa.

Are there any such STFU operators in the CI framework?  I have nearly always avoided using them in my own code.  I might have some really, really ancient non-CI projects that I'll have to check prior to a PHP 8 upgrade though. Although it looks like it's mainly fatal errors which are not silenced now, which kind of makes sense, as the application would fail at that point anyway.

It also appears there is an issue with Migrations when using PHP 8, although the fix looks simple.
Reply


Messages In This Thread
RE: Surprised to see codeigniter 3.x running successfull with PHP 8.0 as well. - by CINewb - 01-16-2021, 03:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB