338
and people wonder why we say PHP is a meme
(lemmy.world)
Post funny things about programming here! (Or just rant about your favourite programming language.)
This is not valid syntax as of 2020. PHP 8 fixed a lot of issue like this as well as a lot of function and variable type issues.
Also this was deprecated in PHP 7 (2015).
They deprecated nested ternaries?
Not nested but 'Unparenthesized'
Also per the error message here is it working: