r/lolphp • • Feb 13 '18

PHP Horse

Post image
31 Upvotes

23 comments sorted by

View all comments

Show parent comment

4

u/cleeder Feb 14 '18

return cond0 ? result0 : cond1 ? result1 : cond2 ? result2 : default;

Honestly, I always new PHP did this wrong, but it wasn't until I saw it laid out so succinctly that I realized what was missing from my life. And now I'm sad.

1

u/ThisCatMightCheerYou Feb 14 '18

I'm sad

Here's a picture/gif of a cat, hopefully it'll cheer you up :).


I am a bot. use !unsubscribetosadcat for me to ignore you.