> 32; if (!ctype_digit((string) abs($value))) { return false; } return $value >= static::MIN && $value <= static::MAX; } protected static function filter($value) { if (ctype_alpha($value) && strlen((string) $value) === 1) { return ord($value); } return ($value << 32) >> 32; } }