3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $automerken = array("bmw" => "1 Series", "Mercedes" => "A klasse"); var_dump($automerken); print_r(array_change_key_case($automerken, CASE_UPPER));
Output for 4.3.0 - 7.1.0
array(2) { ["bmw"]=> string(8) "1 Series" ["Mercedes"]=> string(8) "A klasse" } Array ( [BMW] => 1 Series [MERCEDES] => A klasse )