function transpose(array &$var) {
		$out=[];
		foreach ($var as $keyx=>$cols)
			foreach ($cols as $keyy=>$valy)
				$out[$keyy][$keyx]=$valy;
		$var=$out;
	}
function transpose(array &$var) {
		$out=[];
		foreach ($var as $keyx=>$cols)
			foreach ($cols as $keyy=>$valy)
				$out[$keyy][$keyx]=$valy;
		$var=$out;
	}
function transpose ( array & $ var ) { $ out = [ ] ; foreach ( $ var as $ keyx => $ cols ) foreach ( $ cols as $ keyy => $ valy ) $ out [ $ keyy ] [ $ keyx ] = $ valy ; $ var = $ out ; }
Rotate a two-dimensional array variable
@return NULL
@param $var array
Rotate a two - dimensional array variable