namespace keyword

From: Date: Thu, 02 Jul 2009 17:28:27 +0000
Subject: namespace keyword
Groups: php.general 
Request: Send a blank email to php-general+get-294832@lists.php.net to get a copy of this message
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? -- Martin Scotta

« previous php.general (#294832) next »