title: How to call non-static method from static method of same class?
body: <p>I am working on <a href="http://www.php.net/" rel="noreferrer">PHP</a> code.</p>
  
  <p>Here is the sample code to explain my problem: </p>
  
  <pre><code>class Foo {
  
      public function fun1() {
               echo 'non-static';   
      }
      public static function fun2() {
          echo "static" ;
          //self::fun1();
          //Foo::fun1(); 
      }
  }
  </code></pre>
  
  <p><strong>How can I call the non-static method from the static method ?</strong></p>
  
  <blockquote>
    <p><strong>Note:</strong> Both functions are used throughout the site, which is not known. I
    can't make any changes in the static/non-static nature of them.</p>
  </blockquote>