Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61148 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94192 invoked from network); 12 Jul 2012 00:39:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Jul 2012 00:39:53 -0000 Authentication-Results: pb1.pair.com header.from=ircmaxell@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ircmaxell@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.54 as permitted sender) X-PHP-List-Original-Sender: ircmaxell@gmail.com X-Host-Fingerprint: 74.125.82.54 mail-wg0-f54.google.com Received: from [74.125.82.54] ([74.125.82.54:37119] helo=mail-wg0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 93/13-09688-7DC1EFF4 for ; Wed, 11 Jul 2012 20:39:52 -0400 Received: by wgbgn7 with SMTP id gn7so10169wgb.11 for ; Wed, 11 Jul 2012 17:39:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=pQHFlzZRuqUnjbGSgVZi0OTfF/vXQfn4m2HbJ6Dl+b4=; b=Z8/KBHEGYI041O34qs581BS4Oo6xbSSNa5K1DXg2yTVQGXDqGBr5udHZm8GyaP0/Fl fLT7I4vWbErJLhyDL+690i4farAdFtSrd9xpOXxYWuci2DKOyKlMRLVmmLSUehZEoCPs jiwbq14u9xh0jrgcvFsyGYN6RkXJkc+UB4mpDZ1j+8O0lf5+tATLZ9mHX7kyQoc5CStp vm2BsiJC5WHDhTiwkvmxdHyvm/y8JIGu+TGPBb8wDdSyt+LS3XZxQ7wb08m7fCnmmGrZ /04yRSPDFHXcJ4pc5tEOMIw4Y4VQcRKp/3emQs7XMp+gWzu9z3M7obprAk8YbMU+0HIk Ub5g== MIME-Version: 1.0 Received: by 10.216.209.8 with SMTP id r8mr22815171weo.51.1342053589145; Wed, 11 Jul 2012 17:39:49 -0700 (PDT) Received: by 10.180.103.195 with HTTP; Wed, 11 Jul 2012 17:39:49 -0700 (PDT) In-Reply-To: <1342050547.1456.33.camel@guybrush> References: <1342050547.1456.33.camel@guybrush> Date: Wed, 11 Jul 2012 20:39:49 -0400 Message-ID: To: =?ISO-8859-1?Q?Johannes_Schl=FCter?= Cc: Nikita Popov , PHP internals Content-Type: multipart/alternative; boundary=0016e6d99ee0735bf504c49733ea Subject: Re: [PHP-DEV] Internal iteration API From: ircmaxell@gmail.com (Anthony Ferrara) --0016e6d99ee0735bf504c49733ea Content-Type: text/plain; charset=ISO-8859-1 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 --0016e6d99ee0735bf504c49733ea--