Pre Exam Test Practice (SSC | Banking | IAS | GATE | State Level | CLAT | Railways | Insurance | Teaching Exams | NDA | Defence | IES |State Exam )

Organizational Research By

Surprising Reserch Topic

array_change_key_case — Changes the case of all keys in an array


#1 array_change_key_case() example

$input_array = array("FirSt" => 1, "SecOnd" => 4);
print_r(array_change_key_case($input_array, CASE_UPPER));
?>
The above example will output:

Array
(
    [FIRST] => 1
    [SECOND] => 4
)

asked May 25, 2015 in PHP by rahulgii
0 votes
28 views



Related Hot Questions



Government Jobs Opening


...