Re[2]: [PHP-DEV] Integrating SPL

2003-06-27 Thread Marcus Börger
Hello Sterling, Friday, June 27, 2003, 4:11:39 PM, you wrote: SH> On Fri, 2003-06-27 at 04:09, Marcus Börger wrote: >> Hello Andi, >> >> Friday, June 27, 2003, 9:53:50 AM, you wrote: >> >> AG> Hey, >> >> AG> In general I think the ideas behind SPL are interesting. However, my main >> AG> prob

Re: Re[2]: [PHP-DEV] Integrating SPL

2003-06-27 Thread Sterling Hughes
> We should decide and implement whatever is decided on by beta2. > great. > > > So how do we get a formal spec for the changes (starting with nicer names, > > > i.e. Iterator instead of spl_foreach)? :) It's probably best if you take > > > Sterling's email and try and come to a final set of int

Re: Re[2]: [PHP-DEV] Integrating SPL

2003-06-27 Thread Andi Gutmans
At 10:19 AM 27/6/2003 -0400, Sterling Hughes wrote: > The big hurry about beta 1 is that it has been lingering for too long and I > think the only way to push PHP 5 is to finally get a beta out there. We can > keep on compromising indefinitely because there'll always be that one last > fix someon

Re: Re[2]: [PHP-DEV] Integrating SPL

2003-06-27 Thread Sterling Hughes
On Fri, 2003-06-27 at 09:22, Andi Gutmans wrote: > At 10:09 AM 27/6/2003 +0200, Marcus Börger wrote: > >Hello Andi, > > > >Friday, June 27, 2003, 9:53:50 AM, you wrote: > > > >AG> Hey, > > > >AG> In general I think the ideas behind SPL are interesting. However, my main > >AG> problem with the whole

Re: Re[2]: [PHP-DEV] Integrating SPL

2003-06-27 Thread Sterling Hughes
On Fri, 2003-06-27 at 04:09, Marcus Börger wrote: > Hello Andi, > > Friday, June 27, 2003, 9:53:50 AM, you wrote: > > AG> Hey, > > AG> In general I think the ideas behind SPL are interesting. However, my main > AG> problem with the whole array and iterator overloading is that it's not > AG> qu

Re[2]: [PHP-DEV] Integrating SPL

2003-06-27 Thread Andi Gutmans
At 10:09 AM 27/6/2003 +0200, Marcus Börger wrote: Hello Andi, Friday, June 27, 2003, 9:53:50 AM, you wrote: AG> Hey, AG> In general I think the ideas behind SPL are interesting. However, my main AG> problem with the whole array and iterator overloading is that it's not AG> quite clear to me wher

Re[2]: [PHP-DEV] Integrating SPL

2003-06-27 Thread Marcus Börger
Hello Andi, Friday, June 27, 2003, 9:53:50 AM, you wrote: AG> Hey, AG> In general I think the ideas behind SPL are interesting. However, my main AG> problem with the whole array and iterator overloading is that it's not AG> quite clear to me where this should have an effect. Will it only work

Re: [PHP-DEV] Integrating SPL

2003-06-26 Thread Andi Gutmans
Hey, In general I think the ideas behind SPL are interesting. However, my main problem with the whole array and iterator overloading is that it's not quite clear to me where this should have an effect. Will it only work in foreach()? Is it supposed to work in array_sort() and all other internal

Re: [PHP-DEV] Integrating SPL

2003-06-26 Thread Andrei Zmievski
On Wed, 25 Jun 2003, Sterling Hughes wrote: > 1) "Fix" the object overloading model to allow you to handle array > accesses internally. This includes the iterator concept and and array > read and write. This portion of the code would be an integral part of > the overloading mechanism (no interfac

[PHP-DEV] Integrating SPL

2003-06-25 Thread Sterling Hughes
Hey, I'd like to talk about merging SPL into the engine, or at least taking some of the core components of SPL and adapting them to the engine, so that the same functionality is available per-default in PHP5. SPL provides a standard set of interfaces, specifically: Iterator: Allows you to overr