Hi Ivan,

> try
> throw new Exception('foobar');
> catch(Exception $e)
> var_dump($e->getMessage());

If you use try/catch that much, that you begin to think about the
syntax, you have an architecture- or design-problem.

PS: And if without brackets should be forbidden.

-- 
Alex Aulbach

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to