Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91167 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97062 invoked from network); 9 Feb 2016 15:51:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Feb 2016 15:51:06 -0000 Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.49 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.49 mail-wm0-f49.google.com Received: from [74.125.82.49] ([74.125.82.49:36839] helo=mail-wm0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8D/BA-39202-8EA0AB65 for ; Tue, 09 Feb 2016 10:51:06 -0500 Received: by mail-wm0-f49.google.com with SMTP id p63so164283234wmp.1 for ; Tue, 09 Feb 2016 07:51:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=oUnCAOp3DB7Gk0bgNRhCuHXqRr6mtCbvoFlnAp3A0rw=; b=LJNL0S3WAjnvYl3bx2xmkFPLYz7r67YYfuEI/znkkaEHP2R0sPFIbhRn93HBAl7RtP E+Tdd8NTFo9MuOOu/gdfV4aBCf1/bqk7XspUTLBVAqK/XruY6EtbyZjn+Z7D+Bao08V3 RihPwKfXqqu9s6N59LXpR5B4gGoR8g0mswz/AGpdkJZIfcaMR/qjk4gM4MOrAgV1mLGA QIkOYcjAY7JqCmGxGUMwoEFhnilMyJbz6zMIv/oLh7gc7dtf96Jk8kNDnJytFf/Nut7b pa/LRNi0yed2iUmRPWGZf1NRlakgKmajA3keA62HOoP7teKiEqL8SgXT67jXYbsfoB7i UywQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=oUnCAOp3DB7Gk0bgNRhCuHXqRr6mtCbvoFlnAp3A0rw=; b=V8rOwFmaYE60KeO+9U56yhJrceJ+6gfyC8AoaXs9meqJAsEWoutVTh3Ww9iVVmINM1 /yv/BI7F0Oy7F5DWPc0jolvu6+G5HUz5xSmx3s7aG/TCdWVal9iIWPbFQK+hwVc+FhGS 10c6VNkPtf5kq7RoqTtTt3eUuILDTYL0YTwsgTrw9fHtjeerrXPgRV4K3r9nAlFenisv el10HLnm0JWTFT/t5f99lxQWGhuwxOaBEu2zTTyyewsZEs4BzwYYb36EaUUPxcQVra6F mm3jGW4dhg4Mh+8k0cNarmpI7Zn7FTU1h1y8Mhur8nbe6aoj/adPm02ZKVNlh5EMosdL ytUQ== X-Gm-Message-State: AG10YOT91kKj1aEy89K61hygAgkhCK4T9Kcl9LGUZdwqZkQMQCPyDXlmf3V6Ghw3cFTN7g== X-Received: by 10.194.89.72 with SMTP id bm8mr33771605wjb.60.1455033061733; Tue, 09 Feb 2016 07:51:01 -0800 (PST) Received: from [192.168.0.152] ([93.188.182.58]) by smtp.googlemail.com with ESMTPSA id v78sm18041834wmv.23.2016.02.09.07.51.00 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 09 Feb 2016 07:51:01 -0800 (PST) To: internals@lists.php.net References: <56B8D3D9.3040904@mprelu.de> Message-ID: <56BA0A8A.4040309@gmail.com> Date: Tue, 9 Feb 2016 15:49:30 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Proposal for a new array function From: rowan.collins@gmail.com (Rowan Collins) guilhermeblanco@gmail.com wrote on 09/02/2016 15:41: > My personal take on this: > > Let's add just more 1 function over a 99999 function's array API, because I > want to optimize 3 lines in my PHP code, and language lack of Generics > while we still refuse to carefully think about a proper OO Collection API. If you're going to go with hyperbole, let me put the opposite spin: Let's improve a few details of our tried-and-tested implementation to make everyone's life easier, rather than embarking on a 10-year mission to radically change the entire language and deprecate every array-related piece of PHP code ever written in favour of a vaguely-imagined utopia whose parameters we haven't even defined yet. I don't believe in either extreme. It's a simple proposal, which can be examined on its own merits. Regards, -- Rowan Collins [IMSoP]