From: mhaza at multipack dot com dot mx Operating system: Solaris 10/6 PHP version: 4.4.4 PHP Bug Type: Arrays related Bug description: array_chunk on 64 bits machine problem
Description: ------------ On Solaris 10/6 using PHP444 compiled with gcc 343 on 64 bits array_chunk returns invalid keys Compiled with apache1337 Modules: OCI, GD2, dbase, ftp, curl, mysql, imap, mcrypt, bcmath Reproduce code: --------------- Using the array_chunk for an array like this: Array ( [716700032303] => 04000763955 [716700036542] => 04000952020 [716700039266] => 04001082702 [716700039351] => 04001084112 [716700039417] => 04001176488 [716700039645] => 04001178955 Expected result: ---------------- Array ( [0] => Array ( [716700032303] => 04000763955 [716700036542] => 04000952020 [716700039266] => 04001082702 [716700039351] => 04001084112 [716700039417] => 04001176488 [716700039645] => 04001178955 Actual result: -------------- Array ( [0] => Array ( [3735461167] => 04000763955 [3735465406] => 04000952020 [3735468130] => 04001082702 [3735468215] => 04001084112 [3735468281] => 04001176488 [3735468509] => 04001178955 -- Edit bug report at http://bugs.php.net/?id=40025&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40025&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40025&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40025&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=40025&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=40025&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=40025&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=40025&r=needscript Try newer version: http://bugs.php.net/fix.php?id=40025&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=40025&r=support Expected behavior: http://bugs.php.net/fix.php?id=40025&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=40025&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=40025&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=40025&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40025&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=40025&r=dst IIS Stability: http://bugs.php.net/fix.php?id=40025&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=40025&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=40025&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=40025&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=40025&r=mysqlcfg