Php_ and Spl_ classname prefixes?

php.internals

Ron Korving

20 years ago
In the light of PHP6, could it be an interesting idea to rename all classes and interfaces to use prefixes like Php_ and Spl_ ? This way there can be a Php_Date class for example, while keeping everybody happy. Migration issues for people should be quite limited. Or is this whole suggestion futile because of the new namespace implementation? - Ron

Marcus Börger

20 years ago
Hello Ron, we don't rename anything and stick with the current naming scheme that does not foresee '_' in the class names. It was discussed endlessly and i don't see reason to discuss it again. And inventing BC breaks for no reason whatsoever makes even less sense. Unfortunatley there is one extension that doesn#t follow any decision. best regards marcus Monday, July 3, 2006, 3:32:24 PM, you wrote:
> In the light of PHP6, could it be an interesting idea to rename all classes > and interfaces to use prefixes like Php_ and Spl_ ? This way there can be a > Php_Date class for example, while keeping everybody happy. Migration issues > for people should be quite limited.
> Or is this whole suggestion futile because of the new namespace > implementation?
> - Ron
Best regards, Marcus