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.nltoLemmy@lemmy.ml•Lemmy Security Vulnerability - Cross-Site Scripting via post URL's.linkfedilinkEnglisharrow-up5·1 year agoShit this is baaaaaad linkfedilink
minus-squareLemmypy@feddit.nltoYou Should Know@lemmy.world•YSK: Hitting submit more than once will post your comment/thread multiple times, even with the laglinkfedilinkarrow-up7·1 year agoThis is the way linkfedilink
minus-squareLemmypy@feddit.nltoYou Should Know@lemmy.world•YSK: Hitting submit more than once will post your comment/thread multiple times, even with the laglinkfedilinkarrow-up8·1 year agoThis is the way linkfedilink
Finally got it…
$a == 1 ? "one" : ( ( $a == 2 ? "two" : $a == 3 ) ? "three" : "other" )