function changekey(array &$var,$old,$new) {
		$keys=array_keys($var);
		$vals=array_values($var);
		$keys[array_search($old,$keys)]=$new;
		$var=array_combine($keys,$vals);
	}
function changekey(array &$var,$old,$new) {
		$keys=array_keys($var);
		$vals=array_values($var);
		$keys[array_search($old,$keys)]=$new;
		$var=array_combine($keys,$vals);
	}
function changekey ( array & $ var , $ old , $ new ) { $ keys = array_keys ( $ var ) ; $ vals = array_values ( $ var ) ; $ keys [ array_search ( $ old , $ keys ) ] = $ new ; $ var = array_combine ( $ keys , $ vals ) ; }
Change the key of a two-dimensional array element
@return NULL
@param $var array
@param $old string
@param $new string
Change the key of a two - dimensional array element