Re: zend engine 2 - nested classes / nested namespaces

From: Date: Wed, 14 May 2003 14:55:13 +0000
Subject: Re: zend engine 2 - nested classes / nested namespaces
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-147592@lists.php.net to get a copy of this message
This file is outdated, nested classes wil NOT be supported, even as namespaces. Namespaces will be implemented but can not be nested. Cheers, Arjen ----- Original Message ----- From: "Marco Schuler" <marco.schuler@scopein.ch> To: <php-general@lists.php.net> Sent: Wednesday, May 14, 2003 4:32 PM Subject: Re: [PHP] zend engine 2 - nested classes / nested namespaces > Hi Julian > > You can find information on Zend engine 2 on > > http://www.php.net/ZEND_CHANGES.txt > > Hope it helps! > > -- > Cheers! > Marco > > > Am Mittwoch, 14. Mai 2003 um 15:17 schrieb Julian Reich: > > > hi, > > > does anyone know whether there will be nested classes in zend engine 2?? and what's about nested namespaces (like in my example)?? > > > background info: > > we're working on a cms and don't want to mix up function libraries and data objects. > > > example: > > > <?PHP > > namespace x_db_mysql > > { > > class select() > > { > > function startQuery() > > { > > // function > > } > > > // more functions > > } > > > // more classes > > } > > > namespace data_types > > { > > namespace x_db_mysql > > { > > class select > > { > > var $var1; > > var $var2; > > > function __construct($var1, $var2) > > { > > $this->var1 = $var1; > > $this->var2 = $var2; > > } > > > class startquery > > { > > var $var1; > > var $var2; > > > function __construct($var1, $var2) > > { > > $this->var1 = $var1; > > $this->var2 = $var2; > > } > > } > > > // more classes > > } > > > // more classes > > } > > > // more namespaces ... > > } > ?>> > > > Yours sincerly, > > Julian Reich > > > julian@reich.cx > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#147592) next »