Re: zend engine 2 - nested classes / nested namespaces
| From: | Marco Schuler | Date: | Thu, 15 May 2003 07:29:04 +0000 |
| Subject: | Re: zend engine 2 - nested classes / nested namespaces | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-147666@lists.php.net to get a copy of this message | ||
Hi Arjen
Am Mittwoch, 14. Mai 2003 um 16:55 schrieb Arjen Brouwer:
> This file is outdated, nested classes wil NOT be supported, even as
> namespaces. Namespaces will be implemented but can not be nested.
Is there a newer version of that file? If so can you provide us the
location where it can be found?
--
Cheers
Marco
> 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
>>