getid3_lib::array_min

Advertisement

Syntax Syntax

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

Parameters Parameters

$arraydata

(array) (Required)

$returnkey

(bool) (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

This site uses Akismet to reduce spam. Learn how your comment data is processed.