Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101674 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86408 invoked from network); 25 Jan 2018 20:23:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jan 2018 20:23:29 -0000 Authentication-Results: pb1.pair.com smtp.mail=tendoaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tendoaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.174 as permitted sender) X-PHP-List-Original-Sender: tendoaki@gmail.com X-Host-Fingerprint: 209.85.217.174 mail-ua0-f174.google.com Received: from [209.85.217.174] ([209.85.217.174:39699] helo=mail-ua0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 34/44-61119-FBC3A6A5 for ; Thu, 25 Jan 2018 15:23:29 -0500 Received: by mail-ua0-f174.google.com with SMTP id e18so5787461ual.6 for ; Thu, 25 Jan 2018 12:23:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=obLLs3nSrLQJ46+S6JYvZ1BDC2kvTjx7W974kr+401g=; b=EaHjD5YJJqMyMn7tyhqwsh/KZR3vFQJMU6zq+fUXnDREPxHiIJ1ZpibECcA/qatoz8 bAM/dY81f95CuMeeUl8DcG0xXzZDWwnrS7JzwJ/KroYk5c4udvIC8YAid4Qpl0KbMb0m UEuoqzUUit+7xiQN8zmh5F8x4z9DAmnZwr3Av6wXbtEbfU63T3UNDMHhL2h3t3k2j257 RXLEAP6zagXecHjYXMEiEyl1bzwP52lumhB+AESRF7QJJKG+TLme9kyiBREVHFwhxqQR pTcV6lkXH4VCbiMBUc2yoMFhY2GmyRhs4350qBWxBzqpBGPA2IKlr5iXwfhr6sIVS+2X eomA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=obLLs3nSrLQJ46+S6JYvZ1BDC2kvTjx7W974kr+401g=; b=DJdaaLWIFBTmk7hrrTuF4pdJnkcEIlWY2gV7oC3lJ1ziNSdL0+o0YVMQZV6ozowmSf 6ayy2g/FVXDID4jpsf1mZJSuOudOtTaAx8AIh+pAoHRBEsmofLNOiJ0jH8DhlTVpB2F7 /ur/7RFDpefOeV95tCSPQpS0IcQg7sX7nBoW3Jd6Aj2T83SX5Ya24e/ySIMzj4x8azwW yNFjpULF3pHCFq3F6YXJJnmVGewoGT8xPxIDx/P+l6bAW0Lnt3id9QPmovW79E443PIi tAxmlumsInrNyBZeZH6asyWXsXKGu1mKzVkRXR2gI6ewVr3uvtqSIOvBKdThqpHA9YTW xLMA== X-Gm-Message-State: AKwxytf3vxRzYatpppSCJySDCY3VQp14rUzkKWyfg1EC6INz7cpFe2+D 8mkUMiWBJX40ETD7Iopsv+sVrmqg6BEWkGKiboo= X-Google-Smtp-Source: AH8x227dxLa3PnZTb/IS4NEb8HndL07D2MHLmcBva7N/HzAu3wm/TQvPzfpxO1onLvkTmJ3GkIpooHbCDXsh5J5/7kw= X-Received: by 10.159.55.11 with SMTP id z11mr8598795uad.154.1516911804745; Thu, 25 Jan 2018 12:23:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.31.199.3 with HTTP; Thu, 25 Jan 2018 12:23:10 -0800 (PST) In-Reply-To: References: Date: Thu, 25 Jan 2018 14:23:10 -0600 Message-ID: To: Rowan Collins Cc: PHP internals Content-Type: multipart/alternative; boundary="001a1140c760470c8805639f8d21" Subject: Re: [PHP-DEV][RFC][DISCUSSION] Collection Inspection From: tendoaki@gmail.com (Michael Morris) --001a1140c760470c8805639f8d21 Content-Type: text/plain; charset="UTF-8" On Thu, Jan 25, 2018 at 2:16 PM, Rowan Collins wrote: > On 25/01/2018 18:56, Michael Morris wrote: > >> Ok, let's stay on topic please. >> This RFC discussion is about an operator or family of functions to verify >> that a given $var is a collection. Objects which enforce collection >> integrity is a tangential but whole other topic outside the scope of what >> I >> proposed in the first post. >> > > > Well, it's more convergent than tangential: if Derick's "generics-lite" > were implemented, the desire for a collectionof operator might be lower, > because people would "$foo instanceof Collection" instead. > Yes, but given what has been said on the issue by the senior maintainers, the chances for Derrick's "generics lite" counter-proposal ever seeing the light of day are somewhere between 0, null, false and empty string. --001a1140c760470c8805639f8d21--