RE: [PEAR-DEV] PEAR and PHP 5
| From: | Jan Schneider | Date: | Thu, 10 Apr 2003 12:33:46 +0000 |
| Subject: | RE: [PEAR-DEV] PEAR and PHP 5 | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-15091@lists.php.net to get a copy of this message | ||
Quoting "Stig S. Bakken" <ssb@fast.no>:
> On Thu, 2003-04-10 at 03:40, Jan Schneider wrote:
> > I didn't take a closer look at namespaces yet, but don't you have to
> provide
> > the namespace if you call classes/function inside them?
> > That means that not only the classes themselves have to be rewritten
> but
> > also all calls to these classes in other pear packages that depend on
> them.
> > Or am I completely on the wrong track?
>
> No, you're not. The coding standard has to be revised to plan ahead for
> PHP 5 with namespaces. In its current version the coding standard is
> geared towards nested classes.
But isn't that the opposite of the
automagically-convert-packages-to-php5-namespaces-approach?
And how do you want to handle the need of having both (php4 and php5)
versions of a package? Some applications may already use the namespace
syntax, other still depend on the old one. But both may need the same pear
package?
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft