[PHP-DEV] alpha3 getting ready

2008-12-02 Thread Lukas Kahwe Smith
Hi, Today we will package and tag PHP 5.3 alpha3. Any commits to the 5.3 branch today should be first ok'ed by Johannes. For windows build fixes Pierre should be kept in the loop. regards, Lukas Kahwe Smith [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscr

Re: [PHP-DEV] New namespace implementation

2008-12-02 Thread David Grudl
Snapshot 5.3.0alpha3-dev acts like manual, I think the manual is correct. BTW - this is very useful feature. A "wrong-relative-resolving" rescuer ;) DG. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] New namespace implementation

2008-12-02 Thread Hannes Magnusson
On Tue, Dec 2, 2008 at 23:34, Stanislav Malyshev <[EMAIL PROTECTED]> wrote: The warning is correct. >>> >>> It is not correct - the use statement has effect, as documented in manual >>> http://php.net/manual/en/language.namespaces.importing.php. >> >> The manual is wrong. Importing global obje

Re: [PHP-DEV] New namespace implementation

2008-12-02 Thread Stanislav Malyshev
The warning is correct. It is not correct - the use statement has effect, as documented in manual http://php.net/manual/en/language.namespaces.importing.php. The manual is wrong. Importing global object is use \ArrayObject - note the \. From the look of it it seems like the page there has al

Re: [PHP-DEV] New namespace implementation

2008-12-02 Thread Stanislav Malyshev
The warning is correct. It is not correct - the use statement has effect, as documented in manual http://php.net/manual/en/language.namespaces.importing.php. The manual is wrong. Importing global object is use \ArrayObject - note the \. -- Stanislav Malyshev, Zend Software Architect [EMAIL PR

Re: [PHP-DEV] New namespace implementation

2008-12-02 Thread David Grudl
Hi! but it generates Warning: The use statement with non-compound name 'ArrayObject' has no effect. The warning is correct. It is not correct - the use statement has effect, as documented in manual http://php.net/manual/en/language.namespaces.importing.php. DG. -- PHP Internals - PHP Runt

Re: [PHP-DEV] New namespace implementation

2008-12-02 Thread Lukas Kahwe Smith
On 02.12.2008, at 22:25, David Grudl wrote: 2) Relative Resolving I pointed out to inappropriate relative resolving earlier (http://news.php.net/php.internals/41837 ). In the world of well-written namespaced frameworks the ratio of usage of "more nested" classes vs. "less nested" is in larg

Re: [PHP-DEV] New namespace implementation

2008-12-02 Thread Stanislav Malyshev
Hi! but it generates Warning: The use statement with non-compound name 'ArrayObject' has no effect. The warning is correct. What about voting? We already voted a lot, let's actually release something for a change. -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://ww

[PHP-DEV] New namespace implementation

2008-12-02 Thread David Grudl
I just read the new namespace documentation and I must say that the new implementation is much more flexible. Great work! I had only two objections: 1) False warnings As http://php.net/manual/en/language.namespaces.importing.php says, it is possible to import non-compound name. // import

Re: [PHP-DEV] Re: cvs: ZendEngine2(PHP_5_3) / Zend.m4 acinclude.m4 zend_float.h zend_operators.c zend_strtod.c /tests float_prec_001.phpt

2008-12-02 Thread Christian Seiler
Hi, >> Your macros are not compatible with autoconf 2.13: >>***BUG in Autoconf--please report*** AC_LINK_IFELSE > > Grmpf. Problems like this are why I absolutely loathe autoconf. I'll > install 2.13 right away and fix this. Done, tested with autoconf 2.13 and 2.61: http://news.php.net/php

Re: [PHP-DEV] Re: cvs: ZendEngine2(PHP_5_3) / Zend.m4 acinclude.m4 zend_float.h zend_operators.c zend_strtod.c /tests float_prec_001.phpt

2008-12-02 Thread Christian Seiler
Hi, > Your macros are not compatible with autoconf 2.13: >***BUG in Autoconf--please report*** AC_LINK_IFELSE Grmpf. Problems like this are why I absolutely loathe autoconf. I'll install 2.13 right away and fix this. Regards, Christian -- PHP Internals - PHP Runtime Development Mailing L

[PHP-DEV] Re: cvs: ZendEngine2(PHP_5_3) / Zend.m4 acinclude.m4 zend_float.h zend_operators.c zend_strtod.c /tests float_prec_001.phpt

2008-12-02 Thread Sebastian Bergmann
Christian Seiler wrote: > cseiler Tue Dec 2 16:19:10 2008 UTC > > Added files: (Branch: PHP_5_3) > /ZendEngine2 zend_float.h > /ZendEngine2/testsfloat_prec_001.phpt > > Modified files: > /ZendEngine2 Zend.m4 acinclud

Re: [PHP-DEV] apha3

2008-12-02 Thread Antony Dovgal
On 02.12.2008 19:49, Christian Seiler wrote: > Hi, > >> I have given you ZE karma. Please commit this yourself no later than >> Tuesday evening! > > Thanks & done. Thanks to you! =) -- Wbr, Antony Dovgal -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://w

Re: [PHP-DEV] apha3

2008-12-02 Thread Christian Seiler
Hi, > I have given you ZE karma. Please commit this yourself no later than > Tuesday evening! Thanks & done. Regards, Christian -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Managing a persistent object in a PHP extension

2008-12-02 Thread Mārtiņš Barinskis
Hello, I'm working on a PHP extension that maintains a [int -> SVG XML DOM Structure] map that should be persistent through user requests to the server. I initialize and allocate my one and only global variable in PHP_MINIT_FUNCTION through the ZEND_INIT_MODULES macro with the function php_myext_in