src/Evaluator.php
public static function evaluate( $number, array $rules ) {
		$rules = self::compile( $rules );

		return self::evaluateCompiled( $number, $rules );
	}
public static function evaluate( $number, array $rules ) {
		$rules = self::compile( $rules );

		return self::evaluateCompiled( $number, $rules );
	}
public static function evaluate ( $ number , array $ rules ) { $ rules = self :: compile ( $ rules ) ; return self :: evaluateCompiled ( $ number , $ rules ) ; }
Evaluate a number against a set of plural rules. If a rule passes,
return the index of plural rule.

@param int $number The number to be evaluated against the rules
@param array $rules The associative array of plural rules in pluralform => rule format.
@return int The index of the plural form which passed the evaluation
Evaluate a number against a set of plural rules . If a rule passes return the index of plural rule .