title: Trouble with using a static method in a very simple hello world PHP program
body: <p>I'm learning by reading this tutorial: <a href="http://survivethedeepend.com/zendframeworkbook/en/1.0/a.not.so.simple.hello.world.tutorial" rel="nofollow noreferrer">Link</a>
  Here's the code:</p>
  
  <pre><code>&lt;?php
  
  require_once 'Zend/Loader.php';
  
  class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
  {
      public static $root = '';
      public static $frontController = null;
  
      public static function run(){
          self::setupEnvironment();
          self::prepare();
          $response = self::$frontController-&gt;dispatch();
          self::sendResponse($response);
      }
  
      public static function setupEnvironment(){
          error_reporting(E_ALL|E_STRICT);
          ini_set('display_startup_errors',true);
          ini_set('display_errors',true);
          date_default_timezone_set('Europe/London');
          self::$root = realpath('..');
          define('APP_ROOT', self::$root);
          spl_autoload_register(array(__CLASS__,'autoload'));
  
      }
  }
  
  ?&gt;
  </code></pre>
  
  <p>I'm recieving this error:</p>
  
  <blockquote>
    <p>Fatal error: Cannot make non static method Zend_Application_Bootstrap_Bootstrap::run() static in class Bootstrap in C:\XAMPP\xampp\htdocs\HelloWorld\application\Bootstrap.php on line 6</p>
  </blockquote>
  
  <p>What am I doing wrong?</p>