|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-09-02 16:34 UTC] requinix@php.net
-Status: Open
+Status: Not a bug
[2014-09-02 16:34 UTC] requinix@php.net
[2014-09-02 17:16 UTC] rob_neal at rocketmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 20 21:00:01 2025 UTC |
Description: ------------ Running PHP version 5.5.15 on XAMPP for Windows. This is latest version of XAMPP/PHP as of today's date. Only changes to default php.ini that I have made are about Mail and XDebug for debugging with Komodo IDE. Test script: --------------- $arr = array('uuu', 'abc','aBC','ABC','abc', 'Def', 'DEF', 'xyz'); //set 3rd argument as $strict=false for case-insensitive $k = array_keys($arr,'abc',false); print_r($k); Expected result: ---------------- Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 ) Actual result: -------------- Array ( [0] => 1 [1] => 4 )