WordPress at a glance
function is not described

getid3_lib::array_max() public WP 1.0

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

No Hooks.

Return

Int|false. Nothing.

Usage

$result = getid3_lib::array_max( $arraydata, $returnkey );
$arraydata(array) (required)
-
$returnkey *(true false)*

Code of getid3_lib::array_max() WP 5.7.2

<?php
public static function array_max($arraydata, $returnkey=false) {
	$maxvalue = false;
	$maxkey   = false;
	foreach ($arraydata as $key => $value) {
		if (!is_array($value)) {
			if (($maxvalue === false) || ($value > $maxvalue)) {
				$maxvalue = $value;
				$maxkey = $key;
			}
		}
	}
	return ($returnkey ? $maxkey : $maxvalue);
}