Better to use `version_compare` here like [this](https://github.com/cakephp/cakephp/blob/2.4/lib/Cake/Log/Engine/FileLog.php#L169).