GarageGames / Torque3D

MIT Licensed Open Source version of Torque 3D from GarageGames
http://torque3d.org
MIT License
3.35k stars 1.2k forks source link

Fix fatal error in project generation on PHP 7.0+ #2387

Open Pecon opened 4 years ago

Pecon commented 4 years ago

A piece of (probably normally unreachable code) was triggering a fatal error when run with PHP 7.0+, probably because of the optimizer checking it before execution. There was simply a continue statement that was not in the scope of a loop or switch statement. The only effect this really has is with fixing generating projects on linux/mac with a newer version of PHP on the system.