Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110769 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 50308 invoked from network); 29 Jun 2020 11:12:26 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 29 Jun 2020 11:12:26 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id C8EBB1804DA for ; Mon, 29 Jun 2020 03:01:04 -0700 (PDT) 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,HTML_MESSAGE, 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-io1-f42.google.com (mail-io1-f42.google.com [209.85.166.42]) (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 ; Mon, 29 Jun 2020 03:01:04 -0700 (PDT) Received: by mail-io1-f42.google.com with SMTP id c16so16472525ioi.9 for ; Mon, 29 Jun 2020 03:01:04 -0700 (PDT) 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=JjTHlgNrW5j2hSKklHGjzba7orwWfkRoSr0ZISBVfEE=; b=b7Kbo4aIpyzWFIU42LxoozTnRE8zuVke+0mW7amrukWUTf44ctQ3dJ0QxnAHlHsMH1 K3+tl8d+EtMMhzg1wjtVblVKWovjO6IVP+m1pKn3GjmASHm0/DxPPdYf9CU5sfw+5g+M LSxpKE7rKaNZrL2Tc1s9UtlCJXxBCjwO6R39669UeZTmLdajOBnLFLDNemkiifigVtpD qD3DDCpQINp2VkeIthsGyTvMwXasrUmDA/965TUDaeoCmv9LTDxETf6xR1IGnuvRwqzb 7xO84nB6nLihfGz/UVLzhxeKsM1YzIa/zaitU9K8DlFeUKWV0aBAN7Qngzso9EIqhs+s 38sQ== 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=JjTHlgNrW5j2hSKklHGjzba7orwWfkRoSr0ZISBVfEE=; b=f3BiK1EifaDlfG2q57qbeHffl9ugPraixCgFNZtisgFsl91rKe8Qy4bnoIj25Jbrq4 hv9qzLk05xCoWNE05ZBVe5Rt3mXx6V8h1yh0GES8wYMfbpl4mUGV4QMUrqsemZ9kQHVs pedSqqJLzJt0apq6GSb2dpZObpZekQyeJ3RPh/zMBZdLg2eAo95N6kLOd5BSL+RpgxiJ D6tyrbuqfR/hIidzFPaiJPz9TXcFAiFB0ves4quJBbxpMf9O4Z7sb4qwXRz6VtOS/vr7 5Tq0zH77dMgtZmLTia/fX5eZORbMvZddLSW4iWzUkv9G7x1nmwEtsIZcI1z0SLZd95/s 34Gg== X-Gm-Message-State: AOAM531F3lRVQccQXJFn1j86xmBp3f/dSzg/Yh5SL71bk3RtqFsraz8O ZaPbAz4c7onLvvgEBkinP1hN6//z2oGHZ57qVNI= X-Google-Smtp-Source: ABdhPJy5Zk+rIiWR0soiOVxKI2Qw7c7ZYRpnqLvhjI7eAmX9BSdHniwaZOCh9qkcpc+NYqEiHNBTskyoICOJDdyZ2NY= X-Received: by 2002:a6b:1496:: with SMTP id 144mr16146653iou.6.1593424859254; Mon, 29 Jun 2020 03:00:59 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 29 Jun 2020 13:00:48 +0300 Message-ID: To: =?UTF-8?B?QW5kcsOpIFLDuG1ja2U=?= Cc: PHP Internals List Content-Type: multipart/alternative; boundary="000000000000b6527105a936224c" Subject: Re: [PHP-DEV] [RFC] Property write visibility From: maxsem.wiki@gmail.com (Max Semenik) --000000000000b6527105a936224c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Jun 29, 2020 at 12:42 PM Andr=C3=A9 R=C3=B8mcke wrote: > This enables readonly, write-only and immutable like semantics for PHP's > properties. > I agree that there is a use case for it, however I don't think the proposed syntax `public:private` is intuitive. Maybe we can come up with something better? --=20 Best regards, Max Semenik --000000000000b6527105a936224c--