At 17:19 9-7-2002, Zeev Suraski shared with all of us: >>How does this differ from: >>$this->db = new dbclient; > >It's completely different. It addresses scoping issues, and gives you the >same functionality as namespaces. For example: > >class foo { > class bar { > function method1() > { > } > }; >}; > > >to call method1() externally, you would have to use something like >foo::bar::method1(). It's not directly related to object instaniation.
So, now the (re-)usable one: class foo { //some code require('class_bar.php'); } Will that work? That would be NEAT :-0 Met vriendelijke groeten / With kind regards, IDG.nl Melvyn Sopacua Webmaster -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php