Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92203 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26147 invoked from network); 11 Apr 2016 17:23:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Apr 2016 17:23:09 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@fleshgrinder.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=php@fleshgrinder.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fleshgrinder.com from 212.232.28.125 cause and error) X-PHP-List-Original-Sender: php@fleshgrinder.com X-Host-Fingerprint: 212.232.28.125 mx204.easyname.com Received: from [212.232.28.125] ([212.232.28.125:56321] helo=mx204.easyname.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 65/83-07428-C7DDB075 for ; Mon, 11 Apr 2016 13:23:08 -0400 Received: from cable-81-173-133-226.netcologne.de ([81.173.133.226] helo=[192.168.178.20]) by mx.easyname.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1apfYG-0000Mu-Bo; Mon, 11 Apr 2016 17:23:04 +0000 Reply-To: internals@lists.php.net References: <570B2F3B.7040609@garfieldtech.com> <570BDB07.7040307@fleshgrinder.com> To: internals@lists.php.net, Larry Garfield Message-ID: <570BDD71.7030504@fleshgrinder.com> Date: Mon, 11 Apr 2016 19:22:57 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <570BDB07.7040307@fleshgrinder.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="1nnS6kI3HjLwLJjlVIo7aCAlaxGgPnhMd" X-ACL-Warn: X-DNSBL-BARRACUDACENTRAL Subject: Re: [PHP-DEV] Final properties From: php@fleshgrinder.com (Fleshgrinder) --1nnS6kI3HjLwLJjlVIo7aCAlaxGgPnhMd Content-Type: multipart/mixed; boundary="442Bkh5RoxbOO4D1S2hDFxT7bUEvolNPD" From: Fleshgrinder Reply-To: internals@lists.php.net To: internals@lists.php.net, Larry Garfield Message-ID: <570BDD71.7030504@fleshgrinder.com> Subject: Re: [PHP-DEV] Final properties References: <570B2F3B.7040609@garfieldtech.com> <570BDB07.7040307@fleshgrinder.com> In-Reply-To: <570BDB07.7040307@fleshgrinder.com> --442Bkh5RoxbOO4D1S2hDFxT7bUEvolNPD Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 4/11/2016 7:12 PM, Fleshgrinder wrote: > Support for mutable public properties is a different story but allowing= > them would destroy the encapsulation and I am against it without anyone= > bringing some good arguments that convince me. >=20 This of course would be different with the RFC you mentioned because then they are not simply public mutable properties anymore but a real method will be called that allows hooks. I wrote the above under the assumption of: interface Example { final public DateTimeImmutable var $created; } Where you end up not being able to hook into assignments and I am against the introduction of such a feature. ;) --=20 Richard "Fleshgrinder" Fussenegger --442Bkh5RoxbOO4D1S2hDFxT7bUEvolNPD-- --1nnS6kI3HjLwLJjlVIo7aCAlaxGgPnhMd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXC912AAoJEOKkKcqFPVVrT60P/0sKiffo73BifveSKTkTsYsp mzGWZkwUYOJv8Y64n5rlqT2Yb7jVoRXrT6/iKRda1JG5TR8n4ZRH8d0LOzouPRfT i8qBXsf/fqY21NvQ212+5dI/E4GYQwNS+Uu4Kc3LBF6C9cZq5ueLRXyQXR4jeofj Vw9nOcj4njAMWtbluubDTZg6c1v7bmWx5xwiYeeRYvL1E+e0/gtr74u+G+gb1MAL yHjsjJjUAo2aUsOpZnMRZ9AeO18YmW5rBYGOTaXLoMWK0OdN4RLAhrrQNXikYPQv GTJzQZXHHXNo2H8e1xHhwQCGTUhP359ZXLevK5x6LCiO0FzpvmsovBKDfLis34YY 2ht8pFOl/5i7gA5gkNdwJAismMmxCf+UVGFjMFRMwwVp/FS7Pc8vQwo+h05rhZPL GcZ56V2/OrNuscarZ6xLuel7a3b2O/b1ndaxmPHvchrAq9icr6X9OUBbKmveJWNU 4bEHmWExw8wVWqOnN0Rhlhf6lBQwlIRQMfHM5OEHB9ksMH327pqVDBfJQhTclXPW TA/V8e2Na3uqBs1LWj14UKTEKRw2Dbhc/m+aO6pEZcX1ssl7n3lkrBfdTNrWyi+a nVUqtTruq7Veip9kU3XezoWct9MCCzjJ/gM2K3S73wjaMto1CwBRTfyVJ/lfN5rJ O3j4H5T34xo1CAaQPGRH =mgFF -----END PGP SIGNATURE----- --1nnS6kI3HjLwLJjlVIo7aCAlaxGgPnhMd--