<?php
class a_class { 
  const VAL = 'Something';
  public static $var = " Interesting";

  public static function foo() {
    return self::$var;
  }
}
echo a_class::VAL;
echo a_class::foo();
?>
Output
Something Interesting