Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94928 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73638 invoked from network); 8 Aug 2016 13:24:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Aug 2016 13:24:00 -0000 Authentication-Results: pb1.pair.com header.from=marijic.silvio@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=marijic.silvio@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.44 as permitted sender) X-PHP-List-Original-Sender: marijic.silvio@gmail.com X-Host-Fingerprint: 209.85.214.44 mail-it0-f44.google.com Received: from [209.85.214.44] ([209.85.214.44:36479] helo=mail-it0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0F/9F-33134-FE788A75 for ; Mon, 08 Aug 2016 09:24:00 -0400 Received: by mail-it0-f44.google.com with SMTP id x130so73606207ite.1 for ; Mon, 08 Aug 2016 06:23:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Axl1P0zfOQCLTC2u7lee7BkKvYY48ay2Q1dBHvyuxBs=; b=gsWSTvQa95x/emyz88YuLwIXQI5OZ6EHbFAHbXw2fTkKQEBJ0jWuXzY2thuPlZNrVz 3IztW4mivoCFzsBSwr68ZPl137p1HdnDHWxmDnR9z6BKdko0dHc5uIXd7NE/aLlUWdRV 2awI1NDx3cfAGXKgqX/zoi1G2nDggVai8bSYzLBXdliYutuRCqHyA7oHAcBcc0N4MStm R9iPKzUvNHG8RzRAopRZwY51A89zpOhTJq2ff0OA0rxIdjibMy0Ahisl1/zZrUhfXlJ8 xMDqFcjkX8dAePcW/femOeR++VFqpJ5BwwM/V4zYcmuY5BmaeX1Guhas7oFuUNJyXTsG xOjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Axl1P0zfOQCLTC2u7lee7BkKvYY48ay2Q1dBHvyuxBs=; b=Zojk++djuRagraMzUcRn5dCUaCBzr98RHpYsfjjEYW0HXkZ2qq/JyoF+KBhyhXj+sV YwoNEqFeeLYGFVr1dL2VAP2/BG931JuGjpgj84MgHwIJj1IZQjjqSE8D76EYvrdtqAsv 2vKLDgbNPbP8fLtz+1S5SqgzN8uli2JKmjUUyXDI48WUsqSW0w32unlpBtScNA9ekYc8 v3shBrZQJzAV4TAqTzVXJ5cv+44BcwuWm6H5mefcjJKkQd3ECj0wQoTKI/IU2Z4sKZsk OhYsP3ynNMohsZd4XYg87f450nEuQn8PiZRs/AaWNsTQFU7lH7h+kMYMK7OxYlZYSJur vgpA== X-Gm-Message-State: AEkoousuNr/JUuxLgiXpgljFaeDY38+VdzafVc5onvDjU3iUocyG06wcRiULuIzbAUUJQRv78ptOkyHTtgMWdw== X-Received: by 10.36.13.203 with SMTP id 194mr17153830itx.79.1470662637609; Mon, 08 Aug 2016 06:23:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.239.133 with HTTP; Mon, 8 Aug 2016 06:23:57 -0700 (PDT) In-Reply-To: References: Date: Mon, 8 Aug 2016 15:23:57 +0200 Message-ID: To: =?UTF-8?Q?Micha=C5=82_Brzuchalski?= Cc: "S.A.N" , PHP Internals List Content-Type: multipart/alternative; boundary=001a11404b241967ab05398f5423 Subject: Re: [PHP-DEV] RFC - Immutable classes From: marijic.silvio@gmail.com (=?UTF-8?Q?Silvio_Mariji=C4=87?=) --001a11404b241967ab05398f5423 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable @Michal Would you consider cooperating on implementing immutable and sealed modifiers? 2016-08-08 15:20 GMT+02:00 Micha=C5=82 Brzuchalski = : > @Silvio I've tried to implement final https://github.com/php/ > php-src/compare/master...brzuchal:final-properties but haven't found time > to implement immutable and sealed, AFAIK I had problems with OPcache > enabled, you need to remember to run every test after compile with opcach= e > enabled in CLI. > > 2016-08-08 15:00 GMT+02:00 Silvio Mariji=C4=87 = : > >> @Michal, well no I did read it. I see that there is not much going on >> there since last year. Did you tried to implement it ? >> >> 2016-08-08 14:49 GMT+02:00 Micha=C5=82 Brzuchalski : >> >>> >>> 2016-08-08 14:47 GMT+02:00 S.A.N : >>> >>>> May be better to do as immutable arrays? >>>> >>>> const =3D new Email; >>>> >>>> it will be a super global immutable instance of Email. >>>> >>> >>> I think you've missunderstood concept of immutable classes. >>> >>> >>> -- >>> pozdrawiam >>> -- >>> Micha=C5=82 Brzuchalski >>> >> >> >> >> -- >> Silvio Mariji=C4=87 >> Software Engineer >> 2e Systems >> > > > > -- > pozdrawiam > -- > Micha=C5=82 Brzuchalski > --=20 Silvio Mariji=C4=87 Software Engineer 2e Systems --001a11404b241967ab05398f5423--