minus-squareLemmypy@feddit.nltoProgrammer Humor@lemmy.ml•and people wonder why we say PHP is a memelinkfedilinkarrow-up18·1 year agoFinally got it… $a == 1 ? "one" : ( ( $a == 2 ? "two" : $a == 3 ) ? "three" : "other" ) linkfedilink
minus-squareLemmypy@feddit.nltoMemes@lemmy.ml•A memmy lemmy screenshot is not a meme.linkfedilinkEnglisharrow-up1·1 year agoNo it isn’t linkfedilink
minus-squareLemmypy@feddit.nltoLemmy@lemmy.ml•Lemmy Security Vulnerability - Cross-Site Scripting via post URL's.linkfedilinkEnglisharrow-up4·1 year agoShit this is baaaaaad linkfedilink
minus-squareLemmypy@feddit.nltoMemes@lemmy.ml•Message Scentlinkfedilinkarrow-up3·edit-21 year agothank you kind human! (actively avoiding using “good bot”) linkfedilink
Finally got it…
$a == 1 ? "one" : ( ( $a == 2 ? "two" : $a == 3 ) ? "three" : "other" )