Re: namespace equivalent in PHP
| From: | Richard Lynch | Date: | Tue, 13 Mar 2007 03:14:00 +0000 |
| Subject: | Re: namespace equivalent in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-250389@lists.php.net to get a copy of this message | ||
On Wed, March 7, 2007 8:03 am, Alain Roger wrote:
> Coming from C++ world, i would like to know what in PHP, is the
> equivalent
> of namespace in C++ ?
Nothing.
Closest we have is wrapping yet another class around everything.
PHP is a "simple" language, on purpose.
C++ is a lot of things, but "simple" is not one of them.
:-)
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?