minus-squareLemmypy@feddit.nltoProgrammer Humor@lemmy.ml•and people wonder why we say PHP is a memelinkfedilinkarrow-up1·1 year agoFinally got it… $a == 1 ? "one" : ( ( $a == 2 ? "two" : $a == 3 ) ? "three" : "other" ) linkfedilink
Finally got it…
$a == 1 ? "one" : ( ( $a == 2 ? "two" : $a == 3 ) ? "three" : "other" )