Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.11.5

Bug #1462 Using __clone in function count leads to an error
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)    
Subscription  


 [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

Comments

 [2004-06-02 13:58 UTC] alan_k
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better. as far as I know.. - it's fixed. (I remember fixing it...)