getid3_lib::flipped_array_merge_noclobber

Advertisement

Syntax Syntax

getid3_lib::flipped_array_merge_noclobber( array $array1, array $array2 )

Parameters Parameters

$array1

(Required)

$array2

(Required)

Return Return

(array|false|null)

Source Source

File: wp-includes/ID3/getid3.lib.php

		}
		# 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);
	}

	/**
	 * @param array $theArray

Advertisement

Advertisement

Leave a Reply