public static function isOptionalNumericRange($value, $min, $max)
    {
        /* No additional validations when the value is null. */
        if (null === $value) {

            return true;
        }

        return self::isRequiredNumericRange($value, $min, $max);
    }
public static function isOptionalNumericRange($value, $min, $max)
    {
        /* No additional validations when the value is null. */
        if (null === $value) {

            return true;
        }

        return self::isRequiredNumericRange($value, $min, $max);
    }
public static function isOptionalNumericRange ( $ value , $ min , $ max ) { /* No additional validations when the value is null. */ if ( null === $ value ) { return true ; } return self :: isRequiredNumericRange ( $ value , $ min , $ max ) ; }
Optional value is numeric in range.

@param mixed $value Value.
@param int   $min   Lower limit.
@param int   $max   Upper limit.

@return bool
Optional value is numeric in range .