WordPress at a glance
function is not described

getid3_lib::array_merge_noclobber() public WP 1.0

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

No Hooks.

Return

Array|false.

Usage

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

Code of getid3_lib::array_merge_noclobber() WP 5.7.2

<?php
public static function array_merge_noclobber($array1, $array2) {
	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_noclobber($newarray[$key], $val);
		} elseif (!isset($newarray[$key])) {
			$newarray[$key] = $val;
		}
	}
	return $newarray;
}