18){ echo 'Old enough.'; } else { throw new Exception('Not old enough'); } } catch(Exception $ex){ echo 'Error: '. $ex -> getMessage(); } ?>