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
Finally got it…
$a == 1 ? "one" : ( ( $a == 2 ? "two" : $a == 3 ) ? "three" : "other" )