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 » Database » DB_DataObject » Bug #1293

DB_DataObject relies on PHP4.2 function is_a() but lists dependencies of PHP4.1

Details

Submitted2004-04-27 06:37 UTC
Fromdavid at edeca dot net
Assignedalan_k
StatusClosed
PackageDB_DataObject
PHP VersionIrrelevant
OSAll
Roadmaps(Not assigned)

Comments

[2004-04-27 06:37 UTC] david at edeca dot net

Description:
------------
The page on pear.php.net lists DB_DataObject as having dependencies of
PHP4.1 however uses the function is_a() which was introduced in PHP4.2.
This affects older versions too, verified back to DB_DataObject version
1.3.

As a fix, the function shown at http://php.net/is_a may be used for
installations with previous versions of PHP. This was tested on PHP4.1.2
and allows the use of newer DB_DataObject versions that use is_a().