The exception mechanism will not replace trigger_error() or function
return values any time soon
Greg
Tumurbaatar S. wrote:
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
If I understand right, PHP5 has an exception
handling mechanism but it is only for "manual" using, i.e.
a progra
Builtin functions in php5 will not throw exceptions. The basic idea is that
exceptions are part of the OOP portion of PHP. What you will need to do is
to wrap these functions into classes. Fortunately, many existing class
libraries such as PEAR can be tweaked to throw exceptions with little or n
<[EMAIL PROTECTED]> wrote in message
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
> >
> 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?
>
> --
> PHP General Mailing List
4 matches
Mail list logo