Home » Database » DB_DataObject » Bug #1559
Release 1.6.1 wrong dep on PHP version
Details
| Submitted | 2004-06-04 21:22 UTC |
|---|---|
| From | cox at idecnet dot com |
| Assigned | alan_k |
| Status | Closed |
| Package | DB_DataObject |
| PHP Version | Irrelevant |
| OS | Irrelevant |
| 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