public static function array_delete(&$arr, $path) {
		if(!$path)
			return;
		if(!is_array($path))
			$path = [$path];
		$lastkey = array_pop($path);
		foreach($path as $parent)
			$arr =& $arr[$parent];
		unset($arr[$lastkey]);
	}
public static function array_delete(&$arr, $path) {
		if(!$path)
			return;
		if(!is_array($path))
			$path = [$path];
		$lastkey = array_pop($path);
		foreach($path as $parent)
			$arr =& $arr[$parent];
		unset($arr[$lastkey]);
	}
public static function array_delete ( & $ arr , $ path ) { if ( ! $ path ) return ; if ( ! is_array ( $ path ) ) $ path = [ $ path ] ; $ lastkey = array_pop ( $ path ) ; foreach ( $ path as $ parent ) $ arr = & $ arr [ $ parent ] ; unset ( $ arr [ $ lastkey ] ) ; }
Unset element in array.
@param  array        $arr
@param  string|array $path  list of nested keys.
@api
Unset element in array .