Checks that a field is exactly the value required.
boolean Core_Valid::equals( string $value , string $required )
参数列表
参数 类型 描述 默认值 $value
string
Value $required
string
Required value
boolean
public static function equals($value, $required)
{
return ($value === $required);
}