title: How can I call member variables of a class within a static method?
body: <p>I am using some method to autoload helper files with functions. The only problem I am having now, is how to call the variables in that class.</p>
  
  <p>Because I am not instantiating it as an object, <code>$this</code> won't work. But what will?</p>
  
  <pre><code>class some_helperclass {
  
  var $some_variable  = '007';
  
  public static function some_func()
      {
      //return 'all ok';
      if (self::some_variable !== FALSE)  
      {
         return  self::ip_adres;
      }
  }
  </code></pre>
  
  <p>I can call the function from anywhere now with the help of <code>spl_autoload_register()</code>.</p>
  
  <pre><code>some_helperclass:: some_func();
  </code></pre>