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

Bug #9023 Regression tests extract2 fail with PHP 5.2.0
Submitted: 2006-10-14 05:56 UTC
From: Fedora at FamilleCollet dot com Assigned: jon
Status: Closed Package: Log (version 1.9.9)
PHP Version: 5.2.0 RC4 OS: Fedora
Roadmaps: (Not assigned)    

 [2006-10-14 05:56 UTC] Fedora at FamilleCollet dot com (Remi Collet)
Description: ------------ Before uploading a new version to Fedora Extras, i'm used to run the regression test, but extract2 one fail. In fact the Actual result seems fine to me, but isn't ok with the "expect" clause of the test. Test script: --------------- From extract2.phpt: /* Logging an object with a __toString() method using casting. */ class CastableObject { function __toString() { return "__toString"; } } $logger->log(new CastableObject()); Expected result: ---------------- From --- EXPECT ident [info] Object id #2 Actual result: -------------- With PHP 5.2.0RC5-dev ident [info] __toString With PHP 5.1.6 ident [info] Object id #2


 [2006-12-18 01:57 UTC] jon (Jon Parise)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the 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.