Initial PHP 5.6 features support

This commit is contained in:
Shoghi Cervantes
2014-08-27 12:21:01 +02:00
parent f4b92bcdfc
commit 759d7e2545
5 changed files with 6 additions and 12 deletions

View File

@ -263,8 +263,8 @@ namespace pocketmine {
$errors = 0;
if(version_compare("5.5.0", PHP_VERSION) > 0){
$logger->critical("Use PHP >= 5.5.0");
if(version_compare("5.6.0", PHP_VERSION) > 0){
$logger->critical("You must use PHP >= 5.6");
++$errors;
}