mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Initial PHP 5.6 features support
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user