From e7d38c138116fa490cac87894e940a93286a3b9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pipa?= Date: Tue, 13 Mar 2012 08:38:03 +0100 Subject: [PATCH] [FrameworkBundle] Changed PHP version detection (see: #3529) --- src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php index 483da057a3..fb92f3e768 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php +++ b/src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php @@ -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; }