Created
February 19, 2019 12:56
-
-
Save kitzberger/f1554d06e8ab34d39ae34c3745f943c9 to your computer and use it in GitHub Desktop.
TYPO3/PHP version compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (version_compare(PHP_VERSION, '7.0.0', '>=') { | |
... | |
} | |
if (version_compare(TYPO3_version, '8.7.0', '>=') { | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment