Y
Hacker News
new
|
ask
|
show
|
jobs
by
esdkl22
2838 days ago
You're correct. I didn't look closely enough at the finalized piece of code. I misinterpreted and thought the offer was unsatisfied with the original, appropriate use for a ternary operator ($variable == $x ? $y : $z)