RE: [PHP-DEV] zend.h breaks system headers on OSX in PHP 5.3

2007-11-06 Thread Dmitry Stogov
May be it is better to just define always_inline as inline on OSX. Something like: #if defined(__GNUC__) && !defined(OSX) ... Thanks. Dmitry. > -Original Message- > From: Wez Furlong [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 07, 2007 7:43 AM > To: internals@lists.php.net > S

[PHP-DEV] zend.h breaks system headers on OSX in PHP 5.3

2007-11-06 Thread Wez Furlong
The system headers on OSX use __attribute__((always_inline)) and zend.h defines always_inline to something else, breaking the build when the compiler tries to resolve that attribute name. A solution is to prefix the defines used in the engine with zend or ZEND or other similar namespacing t

[PHP-DEV] ignored patches

2007-11-06 Thread Gregory Beaver
Hi all, The patch to implement multiple namespaces per file, and the patch to remove keyword restrictions for methods appear to have fallen through the cracks. I would like to encourage at the minimum a review, and either a "go away" or a commit so we can still pretend that outsider contributions

[PHP-DEV] CVS Account Request: jthomas

2007-11-06 Thread Joe Thomas
I want to be able to contribute to the php core for the community. Whether it be contributing to the documentation, developing extensions, or help to maintain the php.net website I am interested! -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/u

[PHP-DEV] [Patch] Allow __sleep to return NULL

2007-11-06 Thread Andrew Minerd
I've attached a patch (both for HEAD and the PHP_5_3 branch) that allows the magic __sleep() method to return NULL to continue the normal serialization process (all members are serialized). This allows the __sleep() method to do meaningful cleanup without having to resort to Reflection overhead.

[PHP-DEV] Disabling the built-in POST handler

2007-11-06 Thread Stefanos Stamatis
Trying to find a way to disable the built-in post form handler for the reasons discussed here: http://marc.info/?l=php-general&m=119160177617046&w=2 I looked at the code of php and found out that inside main/rfc1867.c in function rfc1867_post_handler there is a check whether the posted data content

Re: [PHP-DEV] T_IMPORT -> T_USE; [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.c zend_compile.h zend_language_parser.y zend_language_scanner.l

2007-11-06 Thread David Coallier
Good stuff On 11/6/07, Sebastian Nohn <[EMAIL PROTECTED]> wrote: > Dmitry Stogov wrote: > > Hi, > > > > I'm going to commit the same patch into PHP_5_3 tomorrow. > > Thanks a lot! > > - Sebastian > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.

Re: [PHP-DEV] T_IMPORT -> T_USE; [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.c zend_compile.h zend_language_parser.y zend_language_scanner.l

2007-11-06 Thread Sebastian Nohn
Dmitry Stogov wrote: > Hi, > > I'm going to commit the same patch into PHP_5_3 tomorrow. Thanks a lot! - Sebastian -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php