Replaced "phpversion()" function call with "PHP_VERSION" constant usage.
This commit is contained in:
parent
fbfde2e0ee
commit
42c0b70a60
|
|
@ -2,8 +2,9 @@
|
|||
include_once 'Sample_Header.php';
|
||||
|
||||
use PhpOffice\PhpWord\Settings;
|
||||
|
||||
$requirements = array(
|
||||
'php' => array('PHP 5.3.0', version_compare(phpversion(), '5.3.0', '>=')),
|
||||
'php' => array('PHP 5.3.3', version_compare(PHP_VERSION, '5.3.3', '>=')),
|
||||
'xml' => array('PHP extension XML', extension_loaded('xml')),
|
||||
'temp' => array('Temp folder "<code>' . Settings::getTempDir() . '</code>" is writable', is_writable(Settings::getTempDir())),
|
||||
'zip' => array('PHP extension ZipArchive (optional)', extension_loaded('zip')),
|
||||
|
|
|
|||
Loading…
Reference in New Issue