[PHP] Re: variable scoping...

2002-04-12 Thread Aric Caley
Believe me, I'm not doing it on purpose. I'm trying to get two different script packages to play nice with each other and I want to keep the modifications at a minumum to make it easier to update the software. Specificaly I'm talking about a weblog package (phpslash) and forums package (phpbb), a

[PHP] Re: variable scoping...

2002-04-12 Thread J Smith
Namespaces aren't available yet, but should be with PHP 5 (?) when the Zend Engine 2.0 is ready. J Aric Caley wrote: > Is it possible to keep the variable name-space separate between, say, two > files (one included into the other) to avoid name collisions? I'm trying > to > get two scripts

[PHP] Re: variable scoping...

2002-04-12 Thread Michael Virnstein
why do you have more than one class with the same name? would be easier using different names for different classes. or define a base class template and extend it in the files as desired, but give them unique names. how do you know later, which class does what in which way, when they have the same