It should be simpler to use : 
```php
$result = eZClusterFileHandler::isFileExpired( $fname, $mtime, $expiry, $curtime, $ttl);
```
and remove the instantiation.