You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project uses a custom class called Generator. Under php5.5+ this class name is reserved and can't be redeclared. Fortunately, there's only two lines in one file (GameEngine/Generator.php lines 12 and 159) to edit to fix this by renaming the class and using the new name in its instantiation.
As for php 7, all mysql_ prefixed functions must be removed. That's a much harder task to perform but if pull requests are welcome, I might get to it since I will be running this script on my server under php 7 if possible (I'm currently testing it under PHP 5.6 after renaming the Generator class)
The text was updated successfully, but these errors were encountered:
Hi there
This project uses a custom class called
Generator
. Under php5.5+ this class name is reserved and can't be redeclared. Fortunately, there's only two lines in one file (GameEngine/Generator.php
lines 12 and 159) to edit to fix this by renaming the class and using the new name in its instantiation.As for php 7, all
mysql_
prefixed functions must be removed. That's a much harder task to perform but if pull requests are welcome, I might get to it since I will be running this script on my server under php 7 if possible (I'm currently testing it under PHP 5.6 after renaming theGenerator
class)The text was updated successfully, but these errors were encountered: