AlmightySnoo 🐢🇮🇱🇺🇦@lemmy.world to Programmer Humor@lemmy.ml · edit-23 年前and people wonder why we say PHP is a memelemmy.worldimagemessage-square118fedilinkarrow-up1379
arrow-up1379imageand people wonder why we say PHP is a memelemmy.worldAlmightySnoo 🐢🇮🇱🇺🇦@lemmy.world to Programmer Humor@lemmy.ml · edit-23 年前message-square118fedilink
minus-squareasceticism@lemmy.fmhy.mllinkfedilinkarrow-up36·edit-23 年前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).
minus-squareasceticism@lemmy.fmhy.mllinkfedilinkarrow-up11·edit-23 年前Not nested but ‘Unparenthesized’ Also per the error message here is it working:
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: