array_key_exists is not working
Posted
by Arun
on Stack Overflow
See other posts from Stack Overflow
or by Arun
Published on 2010-06-01T10:27:00Z
Indexed on
2010/06/01
10:33 UTC
Read the original article
Hit count: 176
array_key_exists is not working for large multidimensional array. For ex
$arr=array( '1'=>10,
'2'=>array('21'=>21,
'22'=>22,
'23'=>array('test'=>100,
'231'=>231),
),
'3'=>30,
'4'=>40
);
array_key_exists('test',$arr) returns 'false' but it works with some simple arrays.
© Stack Overflow or respective owner