Verbose If
What is wrong with this if statement? if($condition){ return true; }else{ return false; } It will work, but it is unnecessarily verbose. This way is better: return ($condition); See the difference? We just turned five lines of code into one Read More …