Re: [PHP] namespace equivalent in PHP

2007-03-12 Thread Richard Lynch
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

Re: [PHP] namespace equivalent in PHP

2007-03-07 Thread Jochem Maas
Alain Roger wrote: > Hi, > > Coming from C++ world, i would like to know what in PHP, is the equivalent > of namespace in C++ ? the closest you get to a namespace is a class (used purely as a static place holder for a set of functions, constants & variables). namespaces is on the php dev list of