Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91737 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24676 invoked from network); 17 Mar 2016 13:20:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Mar 2016 13:20:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=francois@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=francois@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 212.27.42.2 as permitted sender) X-PHP-List-Original-Sender: francois@php.net X-Host-Fingerprint: 212.27.42.2 smtp2-g21.free.fr Received: from [212.27.42.2] ([212.27.42.2:16031] helo=smtp2-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2B/33-05006-B1FAAE65 for ; Thu, 17 Mar 2016 08:20:27 -0500 Received: from [127.0.0.1] (unknown [82.240.16.115]) (Authenticated sender: flaupretre@free.fr) by smtp2-g21.free.fr (Postfix) with ESMTPSA id 7A6EC4B01C2; Thu, 17 Mar 2016 14:16:07 +0100 (CET) To: Phil Sturgeon , "internals@lists.php.net" References: Message-ID: <56EAAF13.20001@php.net> Date: Thu, 17 Mar 2016 14:20:19 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Antivirus: avast! (VPS 160317-0, 17/03/2016), Outbound message X-Antivirus-Status: Clean Subject: Re: [PHP-DEV] [RFC Discussion] Typed Properties From: francois@php.net (=?UTF-8?Q?Fran=c3=a7ois_Laupretre?=) Hi, Le 16/03/2016 17:36, Phil Sturgeon a écrit : > Hello everyone, > > I have completed the draft for an RFC, to add Typed Properties. The > patch has been written by the one and only Joe Watkins. > > https://wiki.php.net/rfc/typed-properties > Maybe you can add a reference to a discussion we had some months ago : http://www.serverphorums.com/read.php?7,1296955. This was not exactly about typed properties but it also concludes that enforcing type checks on every write access requires typed zvals, which would be extremely powerful, but also a very complex task (mostly for performance reasons). Regards François