[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 /tmp/not_defined.p

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 e

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-internals&m=123704111325725&w=2 Right, sorry, same p

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] Production and development ini changes.

2009-03-19 Thread Eric Stewart
Chris and Johannes, I'll merge both all the changes I have on hand into a single set of patches and send them to the list later today. Eric Lee Stewart On Thu, Mar 19, 2009 at 3:38 AM, Christopher Jones < christopher.jo...@oracle.com> wrote: > > Eric Stewart wrote: > >> I've attached patches for

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

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

[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] GSOC Idea, RPC Server

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

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

2009-03-19 Thread Cesar D. Rodas
2009/3/19 marius adrian popa : > On Thu, Mar 19, 2009 at 9:30 AM, Cesar D. Rodas wrote: >> Hello Andrey, >> >> 2009/3/19 Andrey Hristov : >>> 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/s

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 wrote: > Hello Andrey, > > 2009/3/19 Andrey Hristov : >> 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 sim

[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 Cesar D. Rodas
Hello Andrey, 2009/3/19 Andrey Hristov : > 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 simplicity will be o

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 : ... Andrey -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

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

2009-03-19 Thread Cesar D. Rodas
2009/3/19 mike : > On Wed, Mar 18, 2009 at 10:55 PM, Cesar D. Rodas 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

[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 good

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-cvs&m=123596904426621&w=2 Another change adds an additional comm