PocketMine / PocketMine-MP

Legacy PocketMine-MP repository. Head to https://github.com/pmmp for up to date software.
https://www.pocketmine.net/
GNU Lesser General Public License v3.0
1.26k stars 660 forks source link

PHP 7.2 on Raspbian (Raspberry PI 3) #4378

Closed juliocoliveira closed 6 years ago

juliocoliveira commented 6 years ago

Issue description

PHP fatar errors:

PHP Fatal error:  Cannot use pocketmine\nbt\tag\Float as Float because 'Float' is a special class name in phar:///srv/minecraft/pocket/PocketMine-MP.phar/src/pocketmine/Server__32bit.php on line 80

Fatal error: Cannot use pocketmine\nbt\tag\Float as Float because 'Float' is a special class name in phar:///srv/minecraft/pocket/PocketMine-MP.phar/src/pocketmine/Server__32bit.php on line 80

Steps to reproduce the issue

  1. Install PHP 7.2 TS from source.
  2. Run start.sh

OS and versions

Crashdump, backtrace or other files

PHP Fatal error: Cannot use pocketmine\nbt\tag\Float as Float because 'Float' is a special class name in phar:///srv/minecraft/pocket/PocketMine-MP.phar/src/pocketmine/Server__32bit.php on line 80

Fatal error: Cannot use pocketmine\nbt\tag\Float as Float because 'Float' is a special class name in phar:///srv/minecraft/pocket/PocketMine-MP.phar/src/pocketmine/Server__32bit.php on line 80

dktapps commented 6 years ago

You're using the wrong version. You can get an up to date version from https://github.com/pmmp/PocketMine-MP/releases .