RE: [PHP] Namespaces in PHP
| From: | Chris Shiflett | Date: | Mon, 29 Mar 2004 23:09:32 +0000 |
| Subject: | RE: [PHP] Namespaces in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-181741@lists.php.net to get a copy of this message | ||
--- Justin Palmer <justin@cetusa.org> wrote:
> Your statement of:
>
> > PHP doesn't support namespaces; however, functions defined within
> > a class definition are essentially conform to namespace ideology
> > since the function would need to be defined twice in the same class
> > to cause an collision.
>
> Does not make sense this is not a namespace ideology at all it is
> called encapsulation.
It makes perfect sense to me. Robert knows that this is called
encapsulation. Don't let fancy terms make you lose sight of what's being
discussed.
Chris
=====
Chris Shiflett - http://shiflett.org/
PHP Security - O'Reilly
Coming Fall 2004
HTTP Developer's Handbook - Sams
http://httphandbook.org/
PHP Community Site
http://phpcommunity.org/