Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:108752 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 52284 invoked from network); 25 Feb 2020 12:48:40 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 25 Feb 2020 12:48:40 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 8B74C1804DA for ; Tue, 25 Feb 2020 03:06:01 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-vs1-f43.google.com (mail-vs1-f43.google.com [209.85.217.43]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 25 Feb 2020 03:06:01 -0800 (PST) Received: by mail-vs1-f43.google.com with SMTP id g15so7744325vsf.1 for ; Tue, 25 Feb 2020 03:06:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=U4SF6xbTU+WnJaGAtALjrlKGyi58Gk9rZa/3jjfnuAQ=; b=TIkSlnDjL2TDvk/eyYq6yqRLCIYtoPmPb9EPS2HFQRjuPcx3psnv2W6VeMnu2RKuUp 10eFsA63spi7js74kLw7lpMG84b/QomzO7FeYmF0JOESwpWBUed00HS0R+NGZkTKNIFa ohjlF5t4bANm05NGBTngja765KG1Y2r1dyygy2EXbQdVmyyPCfhZwIihk7jVpnpFw0b4 lTRdn4KOTh1IBRkIGKzqKuAEvNTP8VyjWU4a12iOVOt6BaNsqT0sWjdzaTVUEkgoqRaS IfWtuUqfxSEHByVGfgZBAzxsKItOtd91B5BCrT4TCvOgoKVQlB18XC/rIk73rgVyrJb9 RbqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=U4SF6xbTU+WnJaGAtALjrlKGyi58Gk9rZa/3jjfnuAQ=; b=fQ6RfcN96g3iJpNEu1lvRmhOsdQX2apNdOhrSv8N+9gVZmvaA1Zi8y3aujwtsRF8A9 AHySxgnXmGdo0uJ99AELlwvqPGDK4IubKI8PCaix/0R+gIHvWaZIYruVZslJak4FOxx4 A8Lt+xsYwhBxnv4HSHCvZR/hWMtJ76DSyd+X8fQZaD6b/gQd4cQO6Amow2Bl/QwmRv5Y 4KCOFHfb2lPggGy2B3qZFy9Oz1TiHDJlNl9oT/QdF0yGPvvXFVWsczVbODXqOi5muD5M uY6xOi0mZbzp7CsP9QWg+4WC0HslkF+2lpmj0tfyMsKGIe4XYVqcBJYnOz/ZijsxzyvG g1Tw== X-Gm-Message-State: APjAAAXvZJP9kXm1InUY587GPJ3P4ZBrJElLHISB5aFhzwwbIUAz9AZJ N4BA3Yk6HR3elq17B/+gTWomEA9CTbRg9NwPWLQ= X-Google-Smtp-Source: APXvYqyeerRwMQN30uuvOTZRLmBtUmky0KpwdvpOrY0I4VXK9umI5079OMJJQcgnkTBOEZnQgTwTTKeigfMIc4FW2Qw= X-Received: by 2002:a67:fa51:: with SMTP id j17mr30517755vsq.59.1582628757869; Tue, 25 Feb 2020 03:05:57 -0800 (PST) MIME-Version: 1.0 References: <8545d15e-ddd5-42be-8405-09697a077234@www.fastmail.com> <4d9688fe-cc57-44af-903e-05f4cbb1bbcc@www.fastmail.com> <452D962A-C588-4F04-B000-479EBEA9B9DB@newclarity.net> <9ebc648c-39d1-45b1-9f3d-9a799c6dec93@www.fastmail.com> <01FE7634-51EC-4D94-B4A0-62C477C096EA@newclarity.net> <726da829-6124-4331-8b28-4d654d652b2a@www.fastmail.com> In-Reply-To: Date: Tue, 25 Feb 2020 12:05:47 +0100 Message-ID: To: Larry Garfield Cc: php internals Content-Type: multipart/alternative; boundary="000000000000ec99c9059f64785a" Subject: Re: [PHP-DEV] [RFC] [DISCUSSION] Immutable/final/readonly properties From: kocsismate90@gmail.com (=?UTF-8?B?TcOhdMOpIEtvY3Npcw==?=) --000000000000ec99c9059f64785a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sorry, but I'd like to add a correction to my previous email. After thinking about it, I realized that cloning is not that serious of a problem in case of immutable objects, since it's also possible to create a new instance instead of cloning. So it seems to be only a Developer Experience concern for me - as cloning is more comfortable to use than passing all the properties to a new object. Regards, M=C3=A1t=C3=A9 --000000000000ec99c9059f64785a--