Re: namespace keyword
| From: | Greg Beaver | Date: | Thu, 02 Jul 2009 20:27:48 +0000 |
| Subject: | Re: namespace keyword | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-294835@lists.php.net to get a copy of this message | ||
Martin Scotta wrote:
> Hil all
>
> I'm a 5.2.0 user (WINXP)
> I have a class like this...
>
> Class IsThisBad
> {
> const NAMESPACE = 'something';
> /* code */
> function __construct( $other=self::NAMESPACE )
> {
> /* do stuff */
> }
> }
>
> Recently the version 5.3 was released, so... should I change the const
> "NAMESPACE" in the class? Is it a reserved word?
Yes.
Greg