#How does a php class file load another class file method?
There are a.php and b.php under the current file. I want to introduce class a into class b
name; } }
name = 'erbao'; $person->say(); } } $person3 = new b(); $person3->usea();
Related recommendations: php tutorial
The above is the detailed content of How to load another class file in php. For more information, please follow other related articles on the PHP Chinese website!