Re: Internal iteration API

From: Date: Thu, 12 Jul 2012 00:39:49 +0000
Subject: Re: Internal iteration API
References: 1 2  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Johannes,

One thing to keep in mind when doing this is to think about consistency.
>

I think that's a huge point not to be taken lightly. For that reason, I
think that this API should not be used for any of the array_* functions.
Meaning that array_sum(), etc should all take arrays only.

Then, other non-array functions (such as str_replace, etc) can be modified
to use this new method.

Just my $0.02 anyway...

Anthony


Thread (24 messages)

« previous php.internals (#61148) next »