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
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
Hi,
Coming from C++ world, i would like to know what in PHP, is the equivalent
of namespace in C++ ?
I have several class which should work together, or Class B which is used to
create a private property of class A.
How can i do that without including the class B into the class A definition
?
t
3 matches
Mail list logo