in reply to If / elses
$foo == 1 ? print "hi" : print "bye";
You can read more about trinary operators here
Get Strong Together!!