# Php_ and Spl_ classname prefixes?

- Thread: https://externals.io/message/24245
- Original archive: https://news-web.php.net/php.internals/24245
- Started by Ron Korving on 2006-07-03T13:32:24+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #24245 — Ron Korving — 2006-07-03T13:32:24+00:00

URL: https://externals.io/message/24245#24245

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

---

## #24249 — Marcus Boerger — 2006-07-03T18:50:29+00:00

URL: https://externals.io/message/24245#24249 · In reply to: #24245

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
