Home » PEAR » PEAR » Bug #3322
misuse of count() in ErrorStack
Details
| Submitted | 2005-01-29 00:50 UTC |
|---|---|
| From | smith at backendmedia dot com |
| Assigned | cellog |
| Status | Closed |
| Package | PEAR |
| PHP Version | Irrelevant |
| OS | irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2005-01-29 00:50 UTC] smith at backendmedia dot com
Description:
------------
Inside the ErrorStack code it seems that count() is used in several places incorrectly. In two places its used to determine of the value is non empty. Its also used to determine if the value is an array which is not appropriate.