getid3_lib::array_min

Advertisement

Syntax Syntax

getid3_lib::array_min( array $arraydata, bool $returnkey = false )

Parameters Parameters

$arraydata

(Required)

$returnkey

(Optional)

Default value: false

Return Return

(int|false)

Source Source

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

		foreach ($arraydata as $key => $value) {
			if (!is_array($value)) {
				if (($minvalue === false) || ($value < $minvalue)) {
					$minvalue = $value;
					$minkey = $key;
				}
			}
		}
		return ($returnkey ? $minkey : $minvalue);
	}

	/**
	 * @param string $XMLstring

Advertisement

Advertisement

Leave a Reply