title: Is it possible to create static classes in PHP (like in C#)?
body: <p>I want to create a static class in PHP and have it behave like it does in C#, so</p>
  
  <ol>
  <li>Constructor is automatically called on the first call to the class</li>
  <li>No instantiation required</li>
  </ol>
  
  <p>Something of this sort...</p>
  
  <pre><code>static class Hello {
      private static $greeting = 'Hello';
  
      private __construct() {
          $greeting .= ' There!';
      }
  
      public static greet(){
          echo $greeting;
      }
  }
  
  Hello::greet(); // Hello There!
  </code></pre>