3 ms·
Especially since it makes zero sense to do that. If you don't care about niceties and want to have a global variable without the absolute php-3 era failure pron
by nolok 3y ago
Especially since it makes zero sense to do that. If you don't care about niceties and want to have a global variable without the absolute php-3 era failure prone jank just use a class static or hell even a function static or whatever. There is no reason whatsoever to use a global variable like that, hasn't been since ... decades now ? And then to name it data on top of it.
- gorm 3y agoYou are right, but for a project like this, with a name like this, it's rather artful and hacky. Nothing wrong in breaking the rules if you know what you are doing.