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

Bug #11300 array_walk_recursive() is a PHP 5 only function
Submitted: 2007-06-12 16:40 UTC Modified: 2007-06-17 09:51 UTC
From: jmcastagnetto Assigned: tias
Status: Closed Package: PEAR_Frontend_Web
PHP Version: 4.4.4 OS: Linux
Roadmaps: 0.7.1    
Subscription  


 [2007-06-12 16:40 UTC] jmcastagnetto (Jesus M. Castagnetto)
Description: ------------ Trying to get either package info or channel info generates an error similar to: Fatal error: Call to undefined function: array_walk_recursive() in /path/to/PEAR/Frontend/Web.php on line 850 and Fatal error: Call to undefined function: array_walk_recursive() in /path/to/PEAR/Frontend/Web.php on line 1070 for package and channel info respectively. A solution would be to use PHP_Compat, requiring it if PHP version is < 5

Comments

 [2007-06-12 16:43 UTC] jmcastagnetto (Jesus M. Castagnetto)
OOPS, the error is produced by PEAR_Frontend_Web not PEAR_RemoteInstaller. Have updated the package name to reflect that.
 [2007-06-17 09:51 UTC] tias (Tias Guns)
This bug has been fixed in CVS. 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. thanks for the bugreport, php4 compatibility is restored g,T