Sebastian Bergmann wrote:
Marcus Boerger schrieb:
honestly why do you want to prefix iterators? and secondly i'd be
just plain stupid to prefix the exception classes.
Bugger, I forgot that those two (iterators and exceptions) are part of
SPL for a second. They're so essential, IMHO, that I thought them part
of the core somehow :)
AFAIK Marcus spend quite a considerable time during the conf to add
prefixes or some other namespacing steps to all global symbols during
the php|works conferences except for Iterators and Exceptions.
I think for Iterators and Exceptions they are sort of postfix
namespaced. I think we should just come up with a "userland global
symbol naming guideline" in the manual where we give users a guideline
on the kinds of things php may expand to in the global symbol table in
the future and what sort of userland naming policy we recommend to not
run into trouble.
regards,
Lukas
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php