Since the trials aren't stateful, is there any reason to create an object versus using a static method e.g.

```php
class BernoulliTrial {
    public static function sample($rate) {
        $random = mt_rand(1.0, 100.0) / 100.0;
        return $random <= $rate;
    }
}
```
? It seems wasteful to instantiate an object for what is essentially a simple function call.