Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93442 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64015 invoked from network); 23 May 2016 10:35:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 May 2016 10:35:31 -0000 Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.41 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.41 mail-wm0-f41.google.com Received: from [74.125.82.41] ([74.125.82.41:37509] helo=mail-wm0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AA/56-14293-1FCD2475 for ; Mon, 23 May 2016 06:35:29 -0400 Received: by mail-wm0-f41.google.com with SMTP id z87so42567175wmh.0 for ; Mon, 23 May 2016 03:35:29 -0700 (PDT) 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-transfer-encoding; bh=fwYEwPn0gW0vrnnjJ2nhiTiuxhg7ghhaXVUhdgSf+IE=; b=n2KEZPdaQDBq3KUX3eAtaqHHBdlhNFm/2cyhazheX2NYM2vHgqJp0a0355Gx53I/H/ iD77cTW8zVJjEGQklPDVfrV89aR5i2cf95A5/lYGT6AgM/AaNfG7jdPSEqNmLs4g3mcl qVsCBiNYZnOczI1BGMRCu/TgQPXXlzi8scY1IauFnc4vKyGMfWA2NHx2nEOx9HZYJaYu XErSGS2xgBWEoMslcSMxvzXfUDxWhxp0E9sVSa54CqAcCdljVEnvcaAi/8JVxctmEvEk sCsVvYFOKOf8zVbrAGDhOD8aQdRQRxeBQhU/f1oGVfknvLMv5EyLFluF70y/bxYNqf3e bqzg== 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-transfer-encoding; bh=fwYEwPn0gW0vrnnjJ2nhiTiuxhg7ghhaXVUhdgSf+IE=; b=EyNWVtnObYAFlzImYcTsuMOUhDzaFgb0P3e2/W2n/siqsoX3SzpsiwsCNJhKBisVvC YJhlsYvJl6vZ0jiiurxlgyi0LrYdpZ926nwhgVf7L82IoFaa6+Na9GnO1aqZrZANPqlD pHLsMED9yqwrL8FdrpI03vT0HBXt1FiorxeU5XfTlij3svZ2ciG+hxPlcHUvOPBlcciQ WC+UMGKqniCJueAT5sRXnXRVW680OMQCPTG/JZfdqoXt9us4Eo4Y07SX6S58Z9v+Kc72 p9Xq7lNaqzrxytV6JIwkgriLJw+Cnf2ZlnOOrstdvKkwttmmx13obUK7G5+3epMdZP6e Xz7g== X-Gm-Message-State: ALyK8tIUUQ4BuEnia7JolLBbCV82PsqxXRkWDcck/+Gh3vSFK7jk8TQ4/gLqfN9k4BlqZA== X-Received: by 10.28.31.68 with SMTP id f65mr6188096wmf.45.1463999726531; Mon, 23 May 2016 03:35:26 -0700 (PDT) Received: from [192.168.0.98] ([93.188.182.58]) by smtp.gmail.com with ESMTPSA id cz3sm34595654wjb.14.2016.05.23.03.35.25 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 23 May 2016 03:35:25 -0700 (PDT) To: internals@lists.php.net References: Message-ID: <20a177df-441f-159f-b930-f1586c9cb07b@gmail.com> Date: Mon, 23 May 2016 11:32:58 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC][Vote] Typed Properties From: rowan.collins@gmail.com (Rowan Collins) On 20/05/2016 07:05, Joe Watkins wrote: > Morning internals, > > Since we have our answer on nullable types, typed properties can now go > to vote. > > https://wiki.php.net/rfc/typed-properties#vote > > Note that, support for nullability as RFC'd will be merged when the > implementation for nullable_types is merged into master. > > Please participate. > > Cheers > Joe I'm surprised at how popular this RFC has been; not because I think it's a bad thing per se, but I thought it would be more controversial. I do still think PHP should have a proper road map for typing features, though. The issues around typed references in this RFC are a good example of how having an increasing number of silos where type enforcement takes place leads to odd inconsistencies and limitations. It would be nice to have some idea of what the eventual aim is - even if we don't know how yet, is the aim in people's minds for "optional typing" to extend throughout the language? This would also help with performance considerations - if type-checking is going to become a more important concept in the language, the engine should move in a direction which will make that easier, and that may affect optimisation decisions. Regards, -- Rowan Collins [IMSoP]