2 ms·
It's not really bad for the time it was written, but today you wouldn't want to write PHP code like this. Lots of global variables that can clobber each other
by ceejayoz 7y ago
It's not really bad for the time it was written, but today you wouldn't want to write PHP code like this.
Lots of global variables that can clobber each other (if one bit of code, even in one of the includes, redefines $user, everything explodes), no classes, no code autoloader...
- cosmotic 7y agoHow are classes are a sign of superior code? How is an autoloader a sign of superior code? Keep in mind, this is old PHP and those things were new or nonexistent.