return $is_true ? 'is true!' : 'is false'; # is just a one line way of saying if ($is_true) { return 'is true!'; } else { return 'is false!'; }