WordPress at a glance
function is not described

getid3_lib::array_merge_clobber() public WP 1.0

{} It's a method of the class: getid3_lib{}

No Hooks.

Return

Array|false.

Usage

$result = getid3_lib::array_merge_clobber( $array1, $array2 );
$array1(mixed) (required)
-
$array2(mixed) (required)
-

Code of getid3_lib::array_merge_clobber() WP 5.7.2

<?php
public static function array_merge_clobber($array1, $array2) {
	// written by kcØhireability*com
	// taken from http://www.php.net/manual/en/function.array-merge-recursive.php
	if (!is_array($array1) || !is_array($array2)) {
		return false;
	}
	$newarray = $array1;
	foreach ($array2 as $key => $val) {
		if (is_array($val) && isset($newarray[$key]) && is_array($newarray[$key])) {
			$newarray[$key] = self::array_merge_clobber($newarray[$key], $val);
		} else {
			$newarray[$key] = $val;
		}
	}
	return $newarray;
}