function fact($int) { return $int == 0 ? 1 : $int * fact($int-1); }