Home » PEAR » PEAR » Bug #1617
PEAR_ErrorStack doesn't return exceptions.
Details
| Submitted | 2004-06-11 21:03 UTC |
|---|---|
| From | jon at jellybob dot co dot uk |
| Assigned | cellog |
| Status | Closed |
| Package | PEAR |
| PHP Version | 5.0.0RC3 (Release Candidate 3) |
| OS | Windows XP |
| Roadmaps | (Not assigned) |
Comments
[2004-06-11 21:03 UTC] jon at jellybob dot co dot uk
Description:
------------
The documentation for the push method of PEAR_ErrorStack says "returns if compatibility mode is on, a PEAR_Error is also thrown. If the class Exception exists, then one is returned", however the actual code doesn't ever return an exception.
It appears that this is due to $err being returned, rather than $ret, however I don't know the code well enough to be sure it won't break something else.