Drop support for Zephir entirely

This extension hasn't been maintained in 4 years and it doesn't make sense to update it to PHP 7, since :shoghi: just dumped a blob of PHP into zephir. It's not worth the hassle of updating.

I prefer to modularise and then C-ify modules, so that they can be reused on their own.
This commit is contained in:
Dylan K. Taylor 2018-02-06 18:40:36 +00:00
parent 03c66f0f86
commit c51cc6b2fe

View File

@ -152,13 +152,8 @@ namespace pocketmine {
}
if(extension_loaded("pocketmine")){
if(version_compare(phpversion("pocketmine"), "0.0.1") < 0){
critical_error("You have the native PocketMine extension, but your version is lower than 0.0.1.");
++$errors;
}elseif(version_compare(phpversion("pocketmine"), "0.0.4") > 0){
critical_error("You have the native PocketMine extension, but your version is higher than 0.0.4.");
++$errors;
}
critical_error("The native PocketMine extension is no longer supported.");
++$errors;
}
if($errors > 0){