AlmightySnoo 🐢🇮🇱🇺🇦@lemmy.world to Programmer Humor@lemmy.ml · edit-21 year agoand people wonder why we say PHP is a memelemmy.worldimagemessage-square115fedilinkarrow-up1375arrow-down137
arrow-up1338arrow-down1imageand people wonder why we say PHP is a memelemmy.worldAlmightySnoo 🐢🇮🇱🇺🇦@lemmy.world to Programmer Humor@lemmy.ml · edit-21 year agomessage-square115fedilink
minus-squareasceticism@lemmy.fmhy.mllinkfedilinkarrow-up36·edit-21 year agoThis 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-squareezchili@iusearchlinux.fyilinkfedilinkarrow-up10·1 year agoThey deprecated nested ternaries?
minus-squareasceticism@lemmy.fmhy.mllinkfedilinkarrow-up11·edit-21 year agoNot 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: