throw exceptions in PHP5
| From: | Erik Franzén | Date: | Sun, 14 Dec 2003 09:51:47 +0000 |
| Subject: | throw exceptions in PHP5 | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-24402@lists.php.net to get a copy of this message | ||
You can set PEAR to throw exceptions in PHP5 instead of returning PEAR error objects.
PEAR packages are not yet supporting this, and they may fail beacause they expect PEAR Errors on errorhandling for internal calls. Not exceptions.
What will become the solution to this do you think?
Are future versions going to handle both PEAR errors and exceptions depending on which value is set for PEAR::setErrorHandling().
/Erik