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.