This should probably be:

```php
<?php
if (version_compare(MongoClient::VERSION, '1.3.4', '>=')) {
    $this->defaultOptions['connectTimeoutMS'] = 1000;
} else {
    $this->defaultOptions['timeout'] = 1000;
}
```