Home  |  Linux  | Mysql  | PHP  | XML
From:Martin Scotta Date:Thu Jul  2 17:28:27 2009
Subject:namespace keyword
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
Navigate in group php.general at sever news.php.net
Previous Next


Your recent visits
Re: namespace keyword
Re: [PHP] simplexml - can it do what I need?
Re: [PHP] simplexml - can it do what I need?
Re: [PHP] php selecting multiple stylesheets
cvs: pecl /llvm phpllvm.cpp phpllvm_compile.cpp phpllvm_execute.cpp phpllvm_execute.h



  
© No Copyright
You are free to use Anything, but please consult your advocate before doing so as this website
also list content from other sources which may be copyrighted.
Site Maintained by Zareef Ahmed
Powered By PHP Consultants