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

Question:array_change_key_case: how to use array_change_key_case using php ?


 

$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 Sep 13, 2013 in PHP by ashish singh
edited Sep 12, 2013
0 votes
36 views



Related Hot Questions



Government Jobs Opening


...