PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » PEAR » PEAR » Bug #3322

misuse of count() in ErrorStack

Details

Submitted2005-01-29 00:50 UTC
Fromsmith at backendmedia dot com
Assignedcellog
StatusClosed
PackagePEAR
PHP VersionIrrelevant
OSirrelevant
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.