Skip to content

Commit

Permalink
Use PHP_VERSION_ID, and not PHP_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
mpalourdio committed Jun 16, 2015
1 parent 0ab9972 commit 10a0a9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Doctrine/Common/Annotations/AnnotationReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public function __construct()
throw AnnotationException::optimizerPlusSaveComments();
}

if (PHP_VERSION < 70000) {
if (PHP_VERSION_ID < 70000) {
if (extension_loaded('Zend Optimizer+') && (ini_get('zend_optimizerplus.load_comments') === "0" || ini_get('opcache.load_comments') === "0")) {
throw AnnotationException::optimizerPlusLoadComments();
}
Expand Down

0 comments on commit 10a0a9d

Please sign in to comment.