I have one class suppose A and another class B in two different file A.php and B.php respectively.
How can I call function of class A in file B.php without including A.php file in B.php.
Can we call using static function?
I have seen one application in which they are not including file nor extends but using another file class function.
can we use static property for that I tried but not working any idea.
they are also not using autoload function
please have a look to these file.
see the database class used in user class.