WordPress at a glance
function is not described

getid3_lib::flipped_array_merge_noclobber() public WP 1.0

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

No Hooks.

Return

Array|false|null.

Usage

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

Code of getid3_lib::flipped_array_merge_noclobber() WP 5.7.2

<?php
public static function flipped_array_merge_noclobber($array1, $array2) {
	if (!is_array($array1) || !is_array($array2)) {
		return false;
	}
	# naturally, this only works non-recursively
	$newarray = array_flip($array1);
	foreach (array_flip($array2) as $key => $val) {
		if (!isset($newarray[$key])) {
			$newarray[$key] = count($newarray);
		}
	}
	return array_flip($newarray);
}