[PHP-DEV] [PATCH] Using cc as the default compiler

2008-11-13 Thread David Soria Parra
Hi Internals, as I recently worked with different compilers, and I noticed that we always check for gcc by default. This means even your /usr/bin/cc is _not_ gcc, PHP's buildsystem will use gcc if it's found. This is the default behavior of the AC_PROG_CC macro. In my opinion, I think if people

Re: [PHP-DEV] Re: [PECL-CVS] cvs: pecl /sphinx sphinx.c

2008-11-13 Thread Felipe Pena
I reverted the long changes days ago, but some developers want it back and others seems doesn't care about it, so I'll apply the patch again in some hours. Anyone else have an objection? 2008/10/30 Wez Furlong <[EMAIL PROTECTED]>: > Just wanted to say that this is the third such commit I've seen

Re: [PHP-DEV] quick polls for 5.3

2008-11-13 Thread Marcus Boerger
Hello Lukas, Wednesday, November 12, 2008, 8:14:31 PM, you wrote: > Hi, > here are a few questions that need to be answered ASAP. > If at all possible keep your votes as short as possible. I think all > of the above topics have been discussed quite a lot on the list. So I > hope voters can

Re: [PHP-DEV] error_log -> sapi.log_message

2008-11-13 Thread Marcus Boerger
Hello Stanislav, thanks :-) Wednesday, November 12, 2008, 9:58:02 PM, you wrote: > Hi! > I want to add error_log option (message_type = 4) which would send the > message directly to sapi_module.log_message whatever error_log INI > setting is. This would allow more flexibility in using SAPI

Re: [PHP-DEV] ReflectionProperty::setValue() and ReflectionProperty::setAccessible()

2008-11-13 Thread Sebastian Bergmann
Marcus Boerger wrote: > And testing is no argument, as you can nicely design so that this > is not necessary. For once, testing is not the argument :-) But this is not the place to discuss what I would like to use this feature for. I do not see why we added setAccessible() for getValue() and n

Re: [PHP-DEV] quick polls for 5.3

2008-11-13 Thread Guilherme Blanco
On Thu, Nov 13, 2008 at 12:56 PM, Alexey Zakhlestin <[EMAIL PROTECTED]> wrote: > On Wed, Nov 12, 2008 at 10:14 PM, Lukas Kahwe Smith <[EMAIL PROTECTED]> wrote: > >> 1) ext/mhash in 5.3. ext/hash has all the functions, so the entire BC break >> will be that "if (extension_loaded('mhash'))" will need

Re: [PHP-DEV] ReflectionProperty::setValue() and ReflectionProperty::setAccessible()

2008-11-13 Thread Marcus Boerger
Hello Sebastian, allowing to read is more than enough. And ofr the record I did not like that at all. If you need to write to a private variable, then obviously your class design is wrong. And testing is no argument, as you can nicely design so that this is not necessary. marcus Wednesda

Re: [PHP-DEV] array_key_exists BC break

2008-11-13 Thread Stanislav Malyshev
Hi! This isn't the type of thing that I would naturally expect to find broken in a .x release, so if we can preserve the old behaviour with little to no penalty, I suggest we go for that. I'm not sure we can while preserving new API - since old API gave much more wiggle room to particular fu

Re: [PHP-DEV] array_key_exists BC break

2008-11-13 Thread Sean Coates
Also cant we some how automate the BC break testing for this (aka scan all functions that accept an array with the old API in 5.2, pass it an ArrayObject instance and see what happens and compare that to 5.3)? Yes we can ;) That should be not hard to do by looking at ones having 'a' in pa

Re: [PHP-DEV] array_key_exists BC break

2008-11-13 Thread Stanislav Malyshev
Hi! Can anyone write up a summary of the situation and the options we have? Sure. A number of array functions in 5.2 accept arrays, but use HASH_OF to extract array value, which means they automatically accept objects if the object has working get_properties handler. In 5.3, such function us

[PHP-DEV] Grafts, Traits, horizontal reuse

2008-11-13 Thread Christopher Vogt
Hej everybody, I had a chat with Stefan about his Traits/Grafts RFC and he suggested we should rather continue a discussion here. I really liked to see the Grafts proposal. In traits and regular inheritance the implementation code of several entities is somehow mixed and as a result one entities

[PHP-DEV] gnaaa. Hit the submit button too early.

2008-11-13 Thread Christopher Vogt
Gnaaa. Hit the submit button too early. Excuse the rubbish. I will post the correct mail in a moment. Christopher -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Traits,Grafts, horizontal reuse

2008-11-13 Thread Christopher Vogt
Hej everybody, I had a chat with Stefan about his Traits/Grafts RFC and he suggested we should rather continue a discussion here. I really liked to see the Grafts proposal. In traits and regular inheritance the implementation code of several entities is somehow mixed and as a result one entities

Re: [PHP-DEV] How to submit a patch for SOAP extension?

2008-11-13 Thread Pierre Joye
On Thu, Nov 13, 2008 at 4:01 PM, Paul Dixon <[EMAIL PROTECTED]> wrote: > I found and patched a bug in the handling of Digest authentication by > the SOAP extension (http://bugs.php.net/bug.php?id=46386) > > Who do I need to inform to have the patch considered for inclusion? Post a link to the patc

[PHP-DEV] How to submit a patch for SOAP extension?

2008-11-13 Thread Paul Dixon
I found and patched a bug in the handling of Digest authentication by the SOAP extension (http://bugs.php.net/bug.php?id=46386) Who do I need to inform to have the patch considered for inclusion? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/un

Re: [PHP-DEV] quick polls for 5.3

2008-11-13 Thread Alexey Zakhlestin
On Wed, Nov 12, 2008 at 10:14 PM, Lukas Kahwe Smith <[EMAIL PROTECTED]> wrote: > 1) ext/mhash in 5.3. ext/hash has all the functions, so the entire BC break > will be that "if (extension_loaded('mhash'))" will need fixing if mhash is > removed (answer both) > I) enable ext/hash by default +1 > II

[PHP-DEV] Re: quick polls for 5.3

2008-11-13 Thread Karsten Dambekalns
Hi. Lukas Kahwe Smith wrote: 1) ext/mhash in 5.3. ext/hash has all the functions, so the entire BC break will be that "if (extension_loaded('mhash'))" will need fixing if mhash is removed (answer both) I) enable ext/hash by default II) remove ext/mhash +1 for both 2) deprecate ereg*. ext/er

RE: [PHP-DEV] quick polls for 5.3

2008-11-13 Thread Jonathan Bond-Caron
On Wed Nov 12 02:14 PM, Lukas Kahwe Smith wrote: > 1) ext/mhash in 5.3. ext/hash has all the functions, so the entire BC > I) enable ext/hash by default +1 > II) remove ext/mhash 0 > 2) deprecate ereg*. ext/ereg is an extension as of PHP 5.3. Since ext/ +1 > 3) resource constants (choose one

Re: [PHP-DEV] [PATCH] Allow unsetting headers previously set usingheader()

2008-11-13 Thread Arnaud Le Blanc
Hi, Committed, thanks Christian :) apache2handler, apache2filter, apache, apache_hooks, cli and cgi SAPIs have been updated. The following SAPIs need to be updated in PHP_5_3 and HEAD: aolserver, continuity, litespeed, nsapi, caudium, phttpd, roxen. (I'm CC-ing known maintainers) More informa

Re: [PHP-DEV] quick polls for 5.3

2008-11-13 Thread Jani Taskinen
Lukas Kahwe Smith wrote: 1) ext/mhash in 5.3. ext/hash has all the functions, so the entire BC break will be that "if (extension_loaded('mhash'))" will need fixing if mhash is removed (answer both) I) enable ext/hash by default +1 II) remove ext/mhash +1 2) deprecate ereg*. ext/ereg is a

Re: [PHP-DEV] array_key_exists BC break

2008-11-13 Thread Lukas Kahwe Smith
Hi, Can anyone write up a summary of the situation and the options we have? Also cant we some how automate the BC break testing for this (aka scan all functions that accept an array with the old API in 5.2, pass it an ArrayObject instance and see what happens and compare that to 5.3)? rega

Re: [PHP-DEV] quick polls for 5.3

2008-11-13 Thread Konstantin Leboev
On Wed, Nov 12, 2008 at 10:14 PM, Lukas Kahwe Smith <[EMAIL PROTECTED]>wrote: > Hi, > > here are a few questions that need to be answered ASAP. > > If at all possible keep your votes as short as possible. I think all of the > above topics have been discussed quite a lot on the list. So I hope vote

Re: [PHP-DEV] quick polls for 5.3

2008-11-13 Thread Lester Caine
Lukas Kahwe Smith wrote: 1) ext/mhash in 5.3. ext/hash has all the functions, so the entire BC break will be that "if (extension_loaded('mhash'))" will need fixing if mhash is removed (answer both) I) enable ext/hash by default 0 II) remove ext/mhash 0 2) deprecate ereg*. ext/ereg is an ext