diff --git a/src/ServiceManager.php b/src/ServiceManager.php index 4cceedf4..79d62763 100644 --- a/src/ServiceManager.php +++ b/src/ServiceManager.php @@ -1062,7 +1062,7 @@ protected static function isSubclassOf($className, $type) if (is_subclass_of($className, $type)) { return true; } - if (version_compare(PHP_VERSION, '5.3.7', '>=')) { + if (PHP_VERSION_ID >= 50307) { return false; } if (!interface_exists($type)) {