[FrameworkBundle] Changed PHP version detection (see: #3529)

This commit is contained in:
Michał Pipa 2012-03-13 08:38:03 +01:00
parent 4a3f6d5768
commit e7d38c1381

View File

@ -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;
}