Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:108590 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 23008 invoked from network); 15 Feb 2020 00:52:45 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 15 Feb 2020 00:52:45 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 3B16D1804E6 for ; Fri, 14 Feb 2020 15:07:30 -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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,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-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (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 ; Fri, 14 Feb 2020 15:07:29 -0800 (PST) Received: by mail-wr1-f41.google.com with SMTP id m16so12764196wrx.11 for ; Fri, 14 Feb 2020 15:07:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=GHCkzvC/SLDDRWKLEnCjykR5h72QizPRgL1Zmv/oMpQ=; b=uec8MlQEfSONWvOnGckrQdLPTUeLbrcXSKYUVK/BDZi8I/BOYtVFWm0BZ88ETQjty4 wdr8kHSM5x1YKEuvgNVWfvL2CGupfGJb6R0zSjUwEmra9xGQb3161yQ3Y+9p1VbPgfK7 KrNuYIhuo41OinM4A8ROoaRzAa03EgQ2bQP7Mql/Ek9nnkBvRk17ctM+xdRMJTiAoeWo pF6XKsMVnnuT5xFfLmyWiczUlGYijp2mrsmLwz2MnBonstmbERO36YbDgRmiBuYEMig0 teWalhBk/wUztZ018qWBGW8i5QAaVtBg8j88Evhhxs4dzPCnj4e+U5FK5rGNXwPeZrvx rVlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=GHCkzvC/SLDDRWKLEnCjykR5h72QizPRgL1Zmv/oMpQ=; b=D2ZtICY3Y+3skkaL9JyYmvMtWaHxJGBiWEtcaijzYQZ+DsobjSyqjjk/kzesoxJJc/ GUy5NlItcV4d0pLuAyY2Q4e7M76ufqcnn3QdziWymNzbm+xs9ZlsKQXcUwBVp/YUKOXF oBBTYSCclwu8jfVau77I9dC4GpoUombc5iQ1tHRc7MVSrsXYXDhB4xx+j3PR/KGD05Vj ctZAZJQzoQ6QUV4xHBR+uqbJEvoEMBDj4rXEzOq+HDwlPrl2KpHvwtJ6GcYunShv9cTB wWBaNvsabUUPLyR2KKVWb0rhBrmImyXEQNRGDXvuxU7VjIyhjiNEwFjGTzD4Kc/6ogR3 fK8w== X-Gm-Message-State: APjAAAU0B/1R3FuN1nCWmaLnJ60Mf7ZvS/ZkC/A4FXHiUtHHZr/oUC42 ixf1R0mDmoCpVleoOaWwDq8l5jAC X-Google-Smtp-Source: APXvYqw5NUlEiAIUd0PgPm070mZWlPboTLUnHxn3Wq7fPeljlM4atBzuxyk05xhKcnefJwCPDzxIpw== X-Received: by 2002:adf:f302:: with SMTP id i2mr6221502wro.21.1581721644944; Fri, 14 Feb 2020 15:07:24 -0800 (PST) Received: from [192.168.0.14] (cpc84253-brig22-2-0-cust114.3-3.cable.virginm.net. [81.108.141.115]) by smtp.googlemail.com with ESMTPSA id y12sm9103347wmj.6.2020.02.14.15.07.24 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 14 Feb 2020 15:07:24 -0800 (PST) To: internals@lists.php.net References: Message-ID: <65f5055f-ffba-0042-7af7-5b122e98933f@gmail.com> Date: Fri, 14 Feb 2020 23:07:19 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB Subject: Re: [PHP-DEV] [RFC] [PROPOSAL] Immutable/final/readonly properties From: rowan.collins@gmail.com (Rowan Tommins) On 14/02/2020 13:42, Máté Kocsis wrote: > Maybe only if our long-term goal would be to deprecate/remove > non-typed properties and implicit initialization altogether in favour of > mixed type and implicit uninitialization... Can I just leave an "ugh, please no" on this part. I remain of the opinion that the introduction of the "uninitialised" state was a huge mistake, and we should be actively working towards making it unnecessary, not building more features that rely on it. Immutable properties, and eventually immutable objects, however, are something I'd be very interested to see. Regards, -- Rowan Tommins (né Collins) [IMSoP]