- version_compare: documentation ( source)
- htmlspecialchars: documentation ( source)
<?php if(version_compare(PHP_VERSION, '5.1.6') < 0) exit(htmlspecialchars('PHP 5.1.6 or newer is required. Your current version ('.PHP_VERSION.') does not meet this requirement.'));