On Thu, 8 Apr 2004, Ferdinand Beyer wrote:

> On 8 Apr 2004 at 12:45, Derick Rethans wrote:
>
> > >  I want to write:
> > >  ...
> > >      $res = some_builtin_func(); // func raises exception on error
> > >  // so I don't need to write additional lines
> > >  ...
> > >
> > >  So will PHP5 (or future versions) work as in my 2nd example?
> >
> > No
>
> It would be a nice feature to let the user decide whether to throw
> exceptions when errors are triggered:

NO!

Derick

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

Reply via email to