4 ms·
Sane PHP developers typically don't use global to avoid using objects properly! I only mention it because it seems you haven't given PHP a fair chance
by martin_ 13y ago
Sane PHP developers typically don't use global to avoid using objects properly! I only mention it because it seems you haven't given PHP a fair chance
- krapp 13y agoto be fair, I've seen that idiom used quite a bit when calling database objects. It's still terrible. Not as bad as using extract() though. Yes i'm looking at you Wordpress.