Slides from my php wtf lightning talk http://www.slideshare.net/markstory/php-wtf … #CakeFest2015
@colindecarlo @mark_story the ternary killed me too.
(true ? ‘Foo’ : false) ? ‘Bar’ : ’Baz’
I think?
-
-
@mendel@colindecarlo Ternaries are evaluated left to right. Basically never use nested ternaries :) -
@mark_story@colindecarlo but the entire point of ternary is
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.