From: Falko M. <ma...@fa...> - 2013-06-04 11:36:42
|
Hi osa2, you can use the --autoload option to provide a file with an autoload function. Cheers, Falko On 06/04/2013 12:34 PM, lis osm wrote: > 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 > > > > ------------------------------------------------------------------------------ > How ServiceNow helps IT people transform IT departments: > 1. A cloud service to automate IT design, transition and operations > 2. Dashboards that offer high-level views of enterprise services > 3. A single system of record for all IT processes > http://p.sf.net/sfu/servicenow-d2d-j > > > > _______________________________________________ > phpCallGraph-general mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpcallgraph-general > |