Re: [PHP-DEV] PHP 5.2.7RC2 Testing

2008-10-24 Thread Derick Rethans
On Thu, 23 Oct 2008, Ilia Alshanetsky wrote: The second release candidate of 5.2.7 was just released for testing and can be downloaded here: Could you please announce your plans for 5.2.7? I've some things to merge but hadn't found the time yet to do so. The Windows binaries should become

Re: [PHP-DEV] PHP 5.2.7RC2 Testing

2008-10-24 Thread Pierre Joye
On Fri, Oct 24, 2008 at 9:47 AM, Derick Rethans [EMAIL PROTECTED] wrote: On Thu, 23 Oct 2008, Ilia Alshanetsky wrote: The second release candidate of 5.2.7 was just released for testing and can be downloaded here: Could you please announce your plans for 5.2.7? I've some things to merge

Re: [PHP-DEV] array_key_exists BC break

2008-10-24 Thread Ionut Gabriel Stan
But wouldn't be useful to at least accept objects implementing ArrayAccess? On 10/23/2008 23:40, Mark van der Velden wrote: Stanislav Malyshev wrote: Hi! I notice that 5.3 differs from 5.2 in how array_key_exists treats objects. In 5.2, if the second parameter (array) is allowed to be

Re: [PHP-DEV] array_key_exists BC break

2008-10-24 Thread Alexey Zakhlestin
On Fri, Oct 24, 2008 at 1:05 PM, Ionut Gabriel Stan [EMAIL PROTECTED] wrote: But wouldn't be useful to at least accept objects implementing ArrayAccess? sounds like a good idea to me On 10/23/2008 23:40, Mark van der Velden wrote: Stanislav Malyshev wrote: Hi! I notice that 5.3 differs

Re: [PHP-DEV] array_key_exists BC break

2008-10-24 Thread Felipe Pena
Hi Stas, 2008/10/23 Stanislav Malyshev [EMAIL PROTECTED]: Hi! I notice that 5.3 differs from 5.2 in how array_key_exists treats objects. In 5.2, if the second parameter (array) is allowed to be object and HASH_OF is applied to it. However, in 5.3 it would produce a warning requiring an

[PHP-DEV] mSQL - goto pecl;

2008-10-24 Thread Felipe Pena
Hi youngs, What about moving mSQL to pecl? :) Well, That isn't a task for me, ... just for remember! -- Regards, Felipe Pena -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] mSQL - goto pecl;

2008-10-24 Thread Olivier Hill
But I've heard in my computer class that goto can be dangerous and should be avoided! :) +1 for me. Olivier On Fri, Oct 24, 2008 at 8:15 AM, Felipe Pena [EMAIL PROTECTED] wrote: Hi youngs, What about moving mSQL to pecl? :) Well, That isn't a task for me, ... just for remember! -- PHP

Re: [PHP-DEV] mSQL - goto pecl;

2008-10-24 Thread Kalle Sommer Nielsen
2008/10/24 Felipe Pena [EMAIL PROTECTED]: Hi youngs, What about moving mSQL to pecl? :) Well, That isn't a task for me, ... just for remember! +1 from me aswell, It doesn't looks like its maintained in php anymore, nor does looks like its active developed anymore. -- Regards, Felipe

Re: [PHP-DEV] mSQL - goto pecl;

2008-10-24 Thread David Coallier
What about moving mSQL to pecl? :) +1 -- Slan, David -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP 5.2.7RC2 Testing

2008-10-24 Thread Ilia Alshanetsky
On 24-Oct-08, at 3:47 AM, Derick Rethans wrote: On Thu, 23 Oct 2008, Ilia Alshanetsky wrote: The second release candidate of 5.2.7 was just released for testing and can be downloaded here: Could you please announce your plans for 5.2.7? I've some things to merge but hadn't found the

Re: [PHP-DEV] mSQL - goto pecl;

2008-10-24 Thread Ilia Alshanetsky
+1 On 24-Oct-08, at 8:15 AM, Felipe Pena wrote: Hi youngs, What about moving mSQL to pecl? :) Well, That isn't a task for me, ... just for remember! -- Regards, Felipe Pena -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php Ilia

Re: [PHP-DEV] mSQL - goto pecl;

2008-10-24 Thread Johannes Schlüter
On Fri, 2008-10-24 at 14:37 +0200, Lukas Kahwe Smith wrote: On 24.10.2008, at 14:15, Felipe Pena wrote: Hi youngs, What about moving mSQL to pecl? :) +1 (not wearing my RM hat .. so its not a final decision yet) I can't image a single reason to keep it, did anybody, within the last

Re: [PHP-DEV] mSQL - goto pecl;

2008-10-24 Thread Antony Dovgal
On 24.10.2008 16:15, Felipe Pena wrote: Hi youngs, What about moving mSQL to pecl? :) Well, That isn't a task for me, ... just for remember! http://news.php.net/php.internals/25296 =) -- Wbr, Antony Dovgal -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe,

Re: [PHP-DEV] array_key_exists BC break

2008-10-24 Thread Johannes Schlüter
On Fri, 2008-10-24 at 13:15 +0400, Alexey Zakhlestin wrote: On Fri, Oct 24, 2008 at 1:05 PM, Ionut Gabriel Stan [EMAIL PROTECTED] wrote: But wouldn't be useful to at least accept objects implementing ArrayAccess? sounds like a good idea to me nope that would mean that some scripts might

[PHP-DEV] Re: array_key_exists BC break

2008-10-24 Thread David Grudl
Hello, I have reported this bug http://bugs.php.net/bug.php?id=46354, because new behaviour breaks my script. The question is how fix scripts for new behaviour. Example: // common array $a = array('item' = NULL); isset($a['item']) - FALSE array_key_exists($a['item']) - TRUE // ArrayObject

Re: [PHP-DEV] array_key_exists BC break

2008-10-24 Thread Stanislav Malyshev
Hi! nope that would mean that some scripts might work different between 5.2 and 5.3, now one gets an error. consider such a script: Just so it is clear - some scripts ALREADY work differently, that's why it says BC break. ?php class Foo extends ArrayAccess { public $prop = 42;

Re: [PHP-DEV] array_key_exists BC break

2008-10-24 Thread Stanislav Malyshev
Hi! In fact, all HASH_OF was removed in standard/array.c, and that's already is mentioned implicitly though, as The functions next()/current/… don't take objects anymore as parameters. For accessing their properties using this way you have to cast the objects to arrays first. ... is a very

Re: [PHP-DEV] array_key_exists BC break

2008-10-24 Thread Johannes Schlüter
On Fri, 2008-10-24 at 10:05 -0700, Stanislav Malyshev wrote: Hi! nope that would mean that some scripts might work different between 5.2 and 5.3, now one gets an error. consider such a script: Just so it is clear - some scripts ALREADY work differently, that's why it says BC break.

[PHP-DEV] Re: Destructor Order

2008-10-24 Thread Ryan Panning
Ryan Panning wrote: I've been wondering, is such a thing even possible? Is there a good way to implement an object destruct order? Here are my thoughts: In the class definition, specify what level of destruction the objects should be on. How, I have no idea, I haven't thought of a good

[PHP-DEV] Politics

2008-10-24 Thread Amy
bogotify veeblefester twoway overestimated mathematically disagree powerhungry hooked letterbomb -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php