> - will never work for sub-classes so don't even ask!!!!! Andi,
This doesn't need to be an issue. The way that I use sub-classes is I ALWAYS include_once("subclass.php"); at the top of each superclass file. I know everyone doesn't code the same way but maybe you can have that as a suggestion to people who use __autoload. Foo.php class Foo{} Bar.php class Bar{} MyFoo.php include_once("Foo.php"); class MyFoo extends Foo{} MyBar.php include_once("Bar.php"); class MyBar extends Bar{} auto_test.php <? function __autoload($name) { include_once("$name.php"); } $f = new MyFoo(); $b = new MyBar(); ?> - brad > > At 11:27 PM 6/11/2002 +0100, Ivan Ristic wrote: > > > Okay, I guess I can live with it :) > > > > > > Andi > > > > Is there anyone else who would like to comment on the > > patch? > > > > http://www.webkreator.com/download/class_autoload.patch > > > > Or can we have it committed? > > > >-- > >Ivan Ristic, [EMAIL PROTECTED] > >[ Weblog on PHP, Software development, Intranets, > >and Knowledge Management: http://www.webkreator.com ] > > > > > >-- > >PHP Development Mailing List <http://www.php.net/> > >To unsubscribe, visit: http://www.php.net/unsub.php > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php