|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-06-24 17:42 UTC] mattwil@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Fri Feb 06 00:00:02 2026 UTC |
Description: ------------ just look at the example Reproduce code: --------------- <?php $a = array('1'=>'abc','a'=>'1'); var_dump(array_keys($a)); ?> Expected result: ---------------- array(2) { [0]=> string(1) "1" [1]=> string(1) "a" } Actual result: -------------- array(2) { [0]=> int(1) [1]=> string(1) "a" }