I want to check each index of array if its value is numeric print next key
print_r($expkey);
gives
Array
(
[0] => ew-language
[1] => en
[2] => 0
[3] => phrase
[4] => locale
)
Array
(
[0] => ew-language
[1] => en
[2] => phrase
[3] => 1
[4] => use_system_locale
)
when [2] => 0
print phrase
when [3] => 1
print use_system_locale
function numeric($key) {
$i=0;
if(is_numeric(key($key))){
$i++;
//if($i = ) incomplete code for function
}
}
numeric($expkey);
HOW TO DO IT ? THANK YOU FOR HELP