hey there i have a simple case of class with static variable and a get function all compile ok but at run time i am getting this error
[Sun Jul 25 03:57:07 2010] [error] [client 127.0.0.1] PHP Fatal error: Undefined class constant 'TYPE' in .....
for the function getType()
here is my class
class NoSuchRequestHandler implements Handler{
public static $TYPE = 2001;
public static $VER = 0;
public function getType(){
return self::TYPE;
}
public function getVersion(){
return self::VER;
}
}
thank you all