PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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.