Re: PHP5 and namespaces for PEAR packages.

From: Date: Fri, 04 Apr 2003 07:17:03 +0000
Subject: Re: PHP5 and namespaces for PEAR packages.
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-14873@lists.php.net to get a copy of this message
On Fri, 2003-04-04 at 03:36, Jesus M. Castagnetto wrote: > namespace PEAR:Math { > class Vector { > ... > } > } > > or > > namespace Math { > class Vector { > } > } > > I'd like the first option, because it makes it simpler to have a Math::Vector > class that is not from PEAR (for example) I agree. > $w = new PEAR:Math::Vector(); vs. $w = new PEAR:Math::Math_Vector(); I prefer the first one. It would be cool to hear some comments from Sebastian, as he as been working with ZE2 a lot recently. - Martin

« previous php.pear.dev (#14873) next »