« Return to Thread: namespace keyword

namespace keyword

by Martin Scotta :: Rate this Message:

Reply to Author | View in Thread

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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

 « Return to Thread: namespace keyword