From: madams at morcor dot com Operating system: windows 2000/2003 server PHP version: 4.3.4 PHP Bug Type: Arrays related Bug description: array_walk crashes PHP when called recursively
Description: ------------ array_walk causes PHP to crash on Windows 2000/2003 server when called recursively. Reproduce code: --------------- Please see http://staff.morcor.com/~madams/tmp/bugs.php.net/2004-03-26.array_walk_bug.phps for the source that causes PHP on Windows 2000/2003 server crash. The script also attempts to load an xml file. An example XML file is located at http://staff.morcor.com/~madams/tmp/bugs.php/net/2004-03-26.configuration.xml Script depends on PEAR.php and PEAR Config.php Expected result: ---------------- This code should parse the array created by PEAR::Config and define a constant for every value in the array that is not a) an array itself, b) an array with a key of '@' or c) an array that does not have an attribute (sub-array '@') constant marked 'FALSE'. Actual result: -------------- Script runs partially, stops and fails to terminate properly. -- Edit bug report at http://bugs.php.net/?id=27721&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27721&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27721&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27721&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27721&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27721&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27721&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27721&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27721&r=support Expected behavior: http://bugs.php.net/fix.php?id=27721&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27721&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27721&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27721&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27721&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27721&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27721&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27721&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27721&r=float