Re: zend engine 2 - nested classes / nested namespaces
| From: | Marco Schuler | Date: | Wed, 14 May 2003 14:32:27 +0000 |
| Subject: | Re: zend engine 2 - nested classes / nested namespaces | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-147586@lists.php.net to get a copy of this message | ||
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