|   | 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-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 04:00:01 2025 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" }