|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-01-11 09:53 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 00:00:01 2025 UTC |
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