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 #1559

Release 1.6.1 wrong dep on PHP version

Details

Submitted2004-06-04 21:22 UTC
Fromcox at idecnet dot com
Assignedalan_k
StatusClosed
PackageDB_DataObject
PHP VersionIrrelevant
OSIrrelevant
Roadmaps(Not assigned)

Comments

[2004-06-04 21:22 UTC] cox at idecnet dot com

Description:
------------
The dependecy says that PHP 4.2 or newer, but as the class uses the constant __FUNCTION__, it needs >= 4.3, when was introduced.

BTW just changing the 3 times it appears with the method name you could support a wider range of php versions :-)

Tomas V.V.Cox

Actual result:
--------------
With PHP 4.2.2:
Notice: Use of undefined constant __FUNCTION__ - assumed '__FUNCTION__ why is that undefined?
Call to undefined function: tostringfrom__function__()
in Cast.php blah blah