PHP Cheatsheet

Collected from the interweb:

public function compareThatJazz($a, $b)
{
        if ($a > $b) {
                return true;
        }

        return false;
}

simplifed:

public function compareThatJazz($a, $b)
{
        return ($a > b);
}