Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82909 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77776 invoked from network); 17 Feb 2015 00:22:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Feb 2015 00:22:50 -0000 Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.177 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.212.177 mail-wi0-f177.google.com Received: from [209.85.212.177] ([209.85.212.177:43689] helo=mail-wi0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1A/B0-08417-9D982E45 for ; Mon, 16 Feb 2015 19:22:49 -0500 Received: by mail-wi0-f177.google.com with SMTP id bs8so29600827wib.4 for ; Mon, 16 Feb 2015 16:22:46 -0800 (PST) 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=XrIMgSy4/823CV7XzXpaXEsBSzU8mlobkEMSbNZWYLo=; b=PWVcdIlX5yC/Nbby9xZ8H8Z3iQ27Vf6QJ8NLD2Dkz3BhzObars7tTTs1ozfD4lxNGq P5sJANC6ZH650nUgCbLBzdyTmGMuuyfhC/TjfiThvKM1SF9ngzjE6y3aAOaafgS3OnBJ dl8yQUViUZ80sXDmNyfUWDhWXSuJ/wIWG7XW6zz2iHyuPSvG3lZb6OJQv+i2RFBo8z1O u/jH1e6f8bkKBXcBdhdFNd/Sqxg3IRc7AZp3iG6RiOrg9U8H5y6cBjBkX4nxGJS4WquP /hp8w1PZ3t+Aer65mEHkZHoT9ElV7dsD9mpeSRKsF5ZmDbB0C1j0bING+7dpC00FYlTm /GGQ== MIME-Version: 1.0 X-Received: by 10.180.189.52 with SMTP id gf20mr52245100wic.27.1424132566100; Mon, 16 Feb 2015 16:22:46 -0800 (PST) Received: by 10.27.10.168 with HTTP; Mon, 16 Feb 2015 16:22:46 -0800 (PST) In-Reply-To: References: <011801d04a07$83ab1c00$8b015400$@php.net> <016f01d04a3a$e9183220$bb489660$@php.net> Date: Tue, 17 Feb 2015 01:22:46 +0100 Message-ID: To: Sara Golemon Cc: francois@php.net, Philip Sturgeon , Arvids Godjuks , Jefferson Gonzalez , Rowan Collins , PHP internals Content-Type: multipart/alternative; boundary=001a11c34750b72e8b050f3db3d9 Subject: Re: [PHP-DEV] Reviving scalar type hints From: nikita.ppv@gmail.com (Nikita Popov) --001a11c34750b72e8b050f3db3d9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Feb 17, 2015 at 12:58 AM, Sara Golemon wrote: > On Mon, Feb 16, 2015 at 2:50 PM, Fran=C3=A7ois Laupretre > wrote: > > Once again, anyone can take over version 0.3, if it is so great. Why > don't you do it ? > > I will play the game, stop working on my proposal, and vote 'yes' again= . > > But don't ask me to do it in your place. > > > If nobody else does it, I will. > > I think Andrea's 0.3 proposal was extremely well balanced, served > everyone's needs whether they would admit it or not, and who's only > failing (subjectively termed) was the use of declare(). I think > declare() is fine and not nearly as ugly as some have slandered it to > be, but I'm willing to read the winds and modify it for v0.4. > > Straw poll: > 1) 2) 3) use strict; (psuedo-namespace) > 3) 4) declare(strict=3Dtrue); (As a top-level declare only) > 5) declare(strict=3Dtrue); (exactly as in v0.3 -- maybe you liked it) > 6) your write-in vote here > > I'm not going to scope in union types, nullables, or falsables. We > can leave that for a followup RFC, this one is contentious enough as > it is. > Thank you for taking over. I like "use strict" and "declare as top-level only" most. The "