Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84856 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40799 invoked from network); 15 Mar 2015 17:48:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Mar 2015 17:48:52 -0000 Authentication-Results: pb1.pair.com smtp.mail=ircmaxell@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ircmaxell@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.53 as permitted sender) X-PHP-List-Original-Sender: ircmaxell@gmail.com X-Host-Fingerprint: 209.85.215.53 mail-la0-f53.google.com Received: from [209.85.215.53] ([209.85.215.53:32975] helo=mail-la0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 21/E3-29489-206C5055 for ; Sun, 15 Mar 2015 12:48:52 -0500 Received: by ladw1 with SMTP id w1so23247168lad.0 for ; Sun, 15 Mar 2015 10:48:46 -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:content-transfer-encoding; bh=uQj5kuAUL6urWVuG4DfirTpLL2oEfpery3EsdD2gty4=; b=KEKBwQkNKql+aUyLL94GzYVGtHM4dU46tKAHmzcsPqvS4pamfLU1fyek8WABni503i IkrD3K/SINebHhQmQyHcRscdMgSgjECh/LMOnDEE1M3IlAtmESE1oA5nr89UxkRYGivp YzYw9G/4SyZWLxHMpLRaGR0tPqLsIxRp/zqoJubamATJx1uVeOiD/JftDXOxXd9a1rxW Vvfga/F/+/S+8xlWiiL7oCYZfyQIH8Tgl37TWTYumj0en+FWK9DKz3ro3yqrnnmo7/QD KmKu0mArES0JF88ZjOd1v2dhO3FzHHrc7/cN0i+F3uueyRmTvIH/wBoD5nFMrXwrFDjz yyZA== MIME-Version: 1.0 X-Received: by 10.112.171.65 with SMTP id as1mr51843847lbc.45.1426441726088; Sun, 15 Mar 2015 10:48:46 -0700 (PDT) Received: by 10.25.43.9 with HTTP; Sun, 15 Mar 2015 10:48:45 -0700 (PDT) In-Reply-To: <85d81405ee1791efadea83cf734ebce3@mail.gmail.com> References: <325E0097-FD7E-4997-A95D-20C62368E162@zend.com> <55031C54.6060802@eliw.com> <7CE491F0-C243-4788-ADA2-5DA9DF1D1168@php.net> <332304ae552bfc635f999a8d73b505f0@mail.gmail.com> <85d81405ee1791efadea83cf734ebce3@mail.gmail.com> Date: Sun, 15 Mar 2015 13:48:45 -0400 Message-ID: To: Zeev Suraski Cc: Stelian Mocanita , PHP internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] Basic Scalar Types From: ircmaxell@gmail.com (Anthony Ferrara) Zeev, >> Zeev, allow me to understand how this goes. Bob's discussions on the RFC >> started 2 days ago. Based on the current rules, the RFC can only go to >> vote >> after 2 weeks. That means in 12 days starting now. >> >> So we are either violating the RFC rules by pushing the vote tomorrow or >> we're delaying PHP7 for another 2 weeks maybe yet another TH RFC passes? > > Bob's RFC is effectively Andrea's v0.1 RFC which was discussed in detail = and > introduced well over two weeks ago. > I hope we're not going to go into more and more extremes of playing a law > firm and not an OS project. We have minimum discussion periods for a reason. To allow people the time to review proposals as much as to discuss them. On the surface, yes, this looks like Andrea's 0.1 RFC. However, after looking at it, it's definitely different. There's a very significant behavior difference between the two: Andrea's RFC had the following wording: > The only exception to this is the handling of NULL: in order to be consis= tent with our existing type hints for classes, callables and arrays, NULL i= s not accepted by default, unless the parameter is explicitly given a defau= lt value of NULL. This would work well with the draft Declaring Nullable Ty= pes RFC. This proposal has a different behavior here. It explicitly allows nulls for types: function foo(int $abc) { var_dump($abc); } Unlike my proposal and any of Andrea's, calling foo(null) will be int(0) instead of an error. This is an important distinction as it basically undermines any attempt at a nullable RFC, since it makes primitives implicitly nullable. So it's not effectively the original proposal. It does differ in a very significant detail. This is why we have mandatory discussion periods. Not for "playing law firm" but for being fair to each other. Anthony.