Skip to content

Commit

Permalink
[FrameworkBundle] Changed PHP version detection (see: symfony#3529)
Browse files Browse the repository at this point in the history
  • Loading branch information
michalpipa committed Mar 13, 2012
1 parent 4a3f6d5 commit e7d38c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class ServerRunCommand extends ContainerAwareCommand
*/
public function isEnabled()
{
if (PHP_VERSION_ID < 50400) {
if (version_compare(phpversion(), '5.4.0', '<')) {
return false;
}

Expand Down

0 comments on commit e7d38c1

Please sign in to comment.