# PHP5 extensions: using existing functionnames as method

- Thread: https://externals.io/message/25679
- Original archive: https://news-web.php.net/php.internals/25679
- Started by danhen@email.de on 2006-09-14T06:05:49+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

---

## #25679 — danhen@email.de — 2006-09-14T06:05:49+00:00

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

>primitive/common names is discouraged for non-core extensions 
>-Sara

So what could be a proper naming convention for such classes?

My Idea is:
-PHPString
-PHPInteger/PHPInt
-...

Any suggestion is welcome.

Daniel

---

## #25680 — Joerg Schoppet — 2006-09-14T08:28:13+00:00

URL: https://externals.io/message/25679#25680 · In reply to: #25679

danhen@email.de wrote:
> > […]
> 
> So what could be a proper naming convention for such classes?
> 
> My Idea is:
> -PHPString
> -PHPInteger/PHPInt
> -...
> 
> Any suggestion is welcome.
> 
> Daniel

To have a common naming I think at "ArrayObject" so:
-StringObject
-Int(eger)Object
-...Object

Joerg Schoppet
