Exceptions and Errors
| From: | John Coggeshall | Date: | Mon, 12 Apr 2004 03:24:03 +0000 |
| Subject: | Exceptions and Errors | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-9048@lists.php.net to get a copy of this message | ||
As a matter of consistency, I would like to suggest that for those
extensions which have a OO/procedural syntax that the non-fatal errors
generated by those extensions be thrown as Exceptions when called from
an OO syntax. I have already committed such a change to Tidy, and I
can't see any serious reason why such a change can't be implemented for
internal classes.
Feedback welcome.
John
--
-=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-
John Coggeshall http://www.coggeshall.org/
The PHP Developer's Handbook http://www.php-handbook.com/
-=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-