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

Bug #19920 PHP function class_name() does not exist - should be get_class()
Submitted: 2013-04-29 20:13 UTC
From: nacin Assigned: alan_k
Status: Closed Package: Services_JSON (version SVN)
PHP Version: Irrelevant OS: Any
Roadmaps: (Not assigned)    
Subscription  


 [2013-04-29 20:13 UTC] nacin (Andrew Nacin)
Description: ------------ Services_JSON::_encode() calls class_name( $object ), which does not exist. The intended function is get_class( $object ). Actual result: -------------- PHP Fatal error: Call to undefined function class_name() in JSON.php on line 557

Comments

 [2013-04-30 08:39 UTC] alan_k (Alan Knowles)
-Status: Open +Status: Closed -Assigned To: +Assigned To: alan_k
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.