From: lis o. <os...@gm...> - 2013-06-04 10:34:52
|
Simple example: --- A.php --- <?php class A extends B { function aaa() { return; } } ?> --- B.php --- <?php class B { function bbb() { return; } } ?> Debug message is; ##ERR## Fatal error: Class 'B' not found in A.php on line 3 Off course, if adding require_once("B.php") to A.php, Both are shown. But many case of today, autoload is deal with these relations. ...How can I do it? osa2 |