diff --git a/src/AutoloaderFactory.php b/src/AutoloaderFactory.php index 27ab200..5f052ac 100644 --- a/src/AutoloaderFactory.php +++ b/src/AutoloaderFactory.php @@ -208,7 +208,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)) {