Skip to content

Commit

Permalink
changed how version compare worked
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Willbanks committed Feb 24, 2012
1 parent a4a409f commit 450844a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AutoloaderFactory.php
Expand Up @@ -104,7 +104,7 @@ public static function factory($options = null)

// unfortunately is_subclass_of is broken on some 5.3 versions
// additionally instanceof is also broken for this use case
if (version_compare(PHP_VERSION, '5.3.6', '>')) {
if (version_compare(PHP_VERSION, '5.3.7', '>=')) {
if (!is_subclass_of($class, 'Zend\Loader\SplAutoloader')) {
require_once 'Exception/InvalidArgumentException.php';
throw new Exception\InvalidArgumentException(
Expand Down

0 comments on commit 450844a

Please sign in to comment.