On Thu, 8 Apr 2004, Tumurbaatar S. wrote:

> > news:[EMAIL PROTECTED]
> > > > If I understand right, PHP5 has an exception
> > > > handling mechanism but it is only for "manual" using, i.e.
> > > > a programmer can use try/catch but only for own code.
> > > > PHP's built-in functions and functions from extensions still
> > > > use old "return value" method. Yes?
> > >
> > > I bloody hope not or what is the point ?

<snip>

>  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

regards,
Derick

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

Reply via email to