Home » Database » DB_DataObject » Bug #1462
Using __clone in function count leads to an error
Details
| Submitted | 2004-05-21 09:12 UTC |
|---|---|
| From | hschaefer at elipson dot de |
| Assigned | alan_k |
| Status | Closed |
| Package | DB_DataObject |
| PHP Version | 4.3.6 |
| OS | WinXP SP1 |
| Roadmaps | (Not assigned) |
Comments
[2004-05-21 09:12 UTC] hschaefer at elipson dot de
Description:
------------
Using function count under 4.3.6 with DB_DataObject 1.5.3 throws error. I found another topic belonging to this problem with hints for php5. Do you still support php4?
Reproduce code:
---------------
I was trying to use something like
$pageResults = $instance->count();
and got the error
"Fatal error: Call to undefined function: __clone() in C:\WebSuite\php4\pear\DB\DataObject.php on line 1235".
Expected result:
----------------
Number of results.
Actual result:
--------------
Fatal error: Call to undefined function: __clone() in C:\WebSuite\php4\pear\DB\DataObject.php on line 1235