public static function between($input, $min, $max) {
        $length = mb_strlen($input);

        return ($length <= $max && $length >= $min);
    }
public static function between($input, $min, $max) {
        $length = mb_strlen($input);

        return ($length <= $max && $length >= $min);
    }
public static function between ( $ input , $ min , $ max ) { $ length = mb_strlen ( $ input ) ; return ( $ length <= $ max && $ length >= $ min ) ; }
Validate input string length is between the min and max.

@param string $input
@param int $min
@param int $max
@return bool
Validate input string length is between the min and max .