src/Helper/Arr.php
public static function max(array $args)
    {
        uasort(
            $args,
            function ($a, $b) {
                return count($a) < count($b) ? 1 : -1;
            }
        );
        return count(reset($args));
    }
public static function max(array $args)
    {
        uasort(
            $args,
            function ($a, $b) {
                return count($a) < count($b) ? 1 : -1;
            }
        );
        return count(reset($args));
    }
public static function max ( array $ args ) { uasort ( $ args , function ( $ a , $ b ) { return count ( $ a ) < count ( $ b ) ? 1 : - 1 ; } ) ; return count ( reset ( $ args ) ) ; }
Get the highest value.

@param array $args

@return int
Get the highest value .