From: fatum at list dot ru Operating system: Microsoft Windows 2000 PHP version: 5.2.0 PHP Bug Type: Arrays related Bug description: function array_fill_keys does not exist
Description: ------------ Actually PHP Version is 5.1.4. Function array_fill_keys does not exist in this version Reproduce code: --------------- Example <?php $array = array ( 1, 2, 3, 4); print_r( array_fill_keys($array, 0)); ?> Result Fatal error: Call to undefined function: array_fill_keys() in --cut--.php on line 3 Expected result: ---------------- NOT the fatal error Actual result: -------------- Fatal error -- Edit bug report at http://bugs.php.net/?id=39843&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39843&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39843&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39843&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=39843&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=39843&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=39843&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=39843&r=needscript Try newer version: http://bugs.php.net/fix.php?id=39843&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=39843&r=support Expected behavior: http://bugs.php.net/fix.php?id=39843&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=39843&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=39843&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=39843&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39843&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=39843&r=dst IIS Stability: http://bugs.php.net/fix.php?id=39843&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=39843&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=39843&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=39843&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=39843&r=mysqlcfg