On Fri Nov 25, 2005 at 09:1028PM +0100, Marcus Boerger wrote: > i think you didn't understand the whole point here. Naming something > after an every day word just like 'Date' is like screaming for problems in > bigger scenarios. It is a beginners mistake to not prefix such stuff.
Assuming this is correct, then not only userland code should use proper prefixes, but also the PHP language core should do so, no? Speaking of this, I like Greg's suggestion about prefixing all internal classes with PHP_. While there are certainly classes out there that are prefixed with it, we could tell developers that starting with e.g. PHP 6 the PHP_* class scope is reserved for the language core and must not be used for any other purpose. - Martin -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php