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

Bug #17029 get_defined_constants() change
Submitted: 2010-01-24 21:22 UTC
From: remicollet Assigned: mekras
Status: Closed Package: PHP_CompatInfo (version 1.9.0)
PHP Version: 5.3.1 OS: Linux (Fedora 12)
Roadmaps: 1.9.1    
Subscription  


 [2010-01-24 21:22 UTC] remicollet (Remi Collet)
Description: ------------ From documentation : "Core constants are categorized under Core, previously internal." configure.php rely on "internal" for Test script: --------------- pciconf --output /tmp Expected result: ---------------- no notice / warning Actual result: -------------- Notice: Undefined index: internal in /usr/bin/pciconf on line 176 Warning: Invalid argument supplied for foreach() in /usr/bin/pciconf on line 176

Comments

 [2010-01-24 22:08 UTC] remicollet (Remi Collet)
Here is a simple patch which fixes the issue (and should keep compatibility with php < 5.3.0) http://remi.fedorapeople.org/PHP_CompatInfo-php53.patch Regards
 [2010-12-06 14:59 UTC] mekras (Mikhail Krasilnikov)
-Status: Open +Status: Assigned -Assigned To: +Assigned To: mekras
 [2010-12-08 15:49 UTC] mekras (Mikhail Krasilnikov)
-Roadmap Versions: +Roadmap Versions: 1.9.1
 [2010-12-28 13:23 UTC] mekras (Mikhail Krasilnikov)
-Status: Assigned +Status: Closed
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.