[PHP-DEV] Re: [PATCH] Bug #45877: LONG_MAX/MIN array key as string/int

2009-03-19 Thread Dmitry Stogov
Hi Matt, Matt Wilmas wrote: Hi again Dmitry, Just wanted to say that I think I can make your code a bit smaller after looking at it closer. It would be great, but keep in mind that performance is more important. Don't quite have enough time to modify and verify it now, but I'll be back

Re: [PHP-DEV] GSOC Idea, RPC Server

2009-03-19 Thread mike
On Wed, Mar 18, 2009 at 10:55 PM, Cesar D. Rodas sad...@gmail.com wrote: In the presentation with Gearman you have a C extension for PHP, and you code the daemon itself in PHP. My idea it's different. Let's put it simple. I am planning code a server (similar to a web server, Apache) written

Re: [PHP-DEV] Production and development ini changes.

2009-03-19 Thread Christopher Jones
Eric Stewart wrote: I've attached patches for php.ini-production and php.ini-development. One change involves an mbstring setting correction regarding: http://marc.info/?l=php-cvsm=123596904426621w=2 http://marc.info/?l=php-cvsm=123596904426621w=2 Another change adds an additional comment

Re: [PHP-DEV] GSOC Idea, RPC Server

2009-03-19 Thread Cesar D. Rodas
2009/3/19 mike mike...@gmail.com: On Wed, Mar 18, 2009 at 10:55 PM, Cesar D. Rodas sad...@gmail.com wrote: In the presentation with Gearman you have a C extension for PHP, and you code the daemon itself in PHP. My idea it's different. Let's put it simple. I am planning code a server (similar

Re: [PHP-DEV] GSOC Idea, RPC Server

2009-03-19 Thread Andrey Hristov
http://www.vl-srm.net/ ? Cesar D. Rodas wrote: 2009/3/19 mike mike...@gmail.com: ... Andrey -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] GSoC 2009

2009-03-19 Thread Scott MacVicar
Hi All, Just a quick note to say that PHP was accepted as an organisation for GSoC 2009. We have until the 23rd of March to try and liaise with any potential students we have available and work on our ideas list that we might suggest. Our ideas list at http://wiki.php.net/gsoc/2009 has a few

Re: [PHP-DEV] GSOC Idea, RPC Server

2009-03-19 Thread Cesar D. Rodas
Hello Andrey, 2009/3/19 Andrey Hristov p...@hristov.com: http://www.vl-srm.net/ ? I've already seen this, and it is pretty similar, but it designs it's very complex IMHO (http://www.vl-srm.net/doc/figures/srm-design.png). My design will be simple, pretty close to the memcached. Part of its

[PHP-DEV] un-deprecating ticks ?

2009-03-19 Thread Arnaud Le Blanc
Hi, After having seen some complaints about ticks being deprecated I'm wondering if they could be un-deprecated for now. Ticks are used by the pcntl extension to call signal handlers when signals are triggered. I added some functions as an alternative, but this does not covers all use cases (and

Re: [PHP-DEV] GSOC Idea, RPC Server

2009-03-19 Thread marius adrian popa
On Thu, Mar 19, 2009 at 9:30 AM, Cesar D. Rodas sad...@gmail.com wrote: Hello Andrey, 2009/3/19 Andrey Hristov p...@hristov.com: http://www.vl-srm.net/ ?  I've already seen this, and it is pretty similar, but it designs it's very complex IMHO

Re: [PHP-DEV] GSOC Idea, RPC Server

2009-03-19 Thread Cesar D. Rodas
2009/3/19 marius adrian popa map...@gmail.com: On Thu, Mar 19, 2009 at 9:30 AM, Cesar D. Rodas sad...@gmail.com wrote: Hello Andrey, 2009/3/19 Andrey Hristov p...@hristov.com: http://www.vl-srm.net/ ?  I've already seen this, and it is pretty similar, but it designs it's very complex IMHO

Re: [PHP-DEV] GSOC Idea, RPC Server

2009-03-19 Thread Rasmus Lerdorf
Cesar D. Rodas wrote: 2009/3/19 marius adrian popa map...@gmail.com: On Thu, Mar 19, 2009 at 9:30 AM, Cesar D. Rodas sad...@gmail.com wrote: Hello Andrey, 2009/3/19 Andrey Hristov p...@hristov.com: http://www.vl-srm.net/ ? I've already seen this, and it is pretty similar, but it designs

[PHP-DEV] Re: [PATCH] Bug #45877: LONG_MAX/MIN array key as string/int

2009-03-19 Thread Matt Wilmas
Hi Dmitry, - Original Message - From: Dmitry Stogov Sent: Thursday, March 19, 2009 Hi Matt, Matt Wilmas wrote: Hi again Dmitry, Just wanted to say that I think I can make your code a bit smaller after looking at it closer. It would be great, but keep in mind that performance is

Re: [PHP-DEV] Re: [PATCH] Bug #45877: LONG_MAX/MIN array key as string/int

2009-03-19 Thread Rasmus Lerdorf
So, what is the final conclusion on this one? Are we at a combination of Matt's and Dmitry's patches here? I think we definitely need to fix this even in the 5.2 branch and get it back to 5.1.x and earlier behavior. I consider it a bug that: $arr[35] = 'blah'; print_r($arr); results

Re: [PHP-DEV] Re: [PATCH] Bug #45877: LONG_MAX/MIN array key as string/int

2009-03-19 Thread Rasmus Lerdorf
Matt Wilmas wrote: However, nothing has been changed in a 5.2.x release (there was some partial backport shortly before getting reverted). If you noticed a change in 5.2.x, perhaps it was platform related? [1] http://marc.info/?l=php-internalsm=123704111325725w=2 Right, sorry, same people,

Re: [PHP-DEV] Re: [PATCH] Bug #45877: LONG_MAX/MIN array key as string/int

2009-03-19 Thread Matt Wilmas
Hi Rasmus, - Original Message - From: Rasmus Lerdorf Sent: Thursday, March 19, 2009 So, what is the final conclusion on this one? Are we at a combination of Matt's and Dmitry's patches here? I think we definitely need to fix this even in the 5.2 branch and get it back to 5.1.x and

[PHP-DEV] Late defined classes

2009-03-19 Thread Paul Tarjan
Hi all, This works (albeit with an abstract class error): --- class Result implements Countable { } $result = new Result(); --- Switching their order: --- $result = new Result(); class Result implements Countable { } --- gives : --- Fatal error: Class 'Result' not found in