The fact that we did it one way in legacy is barely proof of anything ;-)

```php
php > $flag = 2; $min = 1; $max = 2;
php > var_dump( $flag&$min );
int(0)
php > var_dump( $flag&$max );
int(2)
```
But the === could be removed, since we will either get 0 or the tested value.