We usually use the [`version_compare()`](http://php.net/version_compare) function to verify the PHP version:

```php
if (version_compare(PHP_VERSION, '5.4.0', '<')) {
}
```