I am working on PHP code.
Here is the sample code to explain my problem:
class Foo {
    public function fun1() {
             echo 'non-static';   
    }
    public static function fun2() {
        echo "static" ;
        //self::fun1();
        //Foo::fun1(); 
    }
}
How can I call the non-static method from the static method ?
Note: 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.
 
     
    