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 .....
fonksiyonu GetType için ()
burada benim sınıf
class NoSuchRequestHandler implements Handler{
public static $TYPE = 2001;
public static $VER = 0;
public function getType(){
return self::TYPE;
}
public function getVersion(){
return self::VER;
}
}
Hepinize teşekkür ederim