Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110770 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 53612 invoked from network); 29 Jun 2020 11:17:56 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 29 Jun 2020 11:17:56 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 18F051804DA for ; Mon, 29 Jun 2020 03:06:37 -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-il1-f179.google.com (mail-il1-f179.google.com [209.85.166.179]) (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:06:36 -0700 (PDT) Received: by mail-il1-f179.google.com with SMTP id k6so13899824ili.6 for ; Mon, 29 Jun 2020 03:06:36 -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=B9qOvQ8+wveFu+UuiTwL2j+NpB1JuND+GARp7dad5Pg=; b=B05tjujCeGmKn0j+EbZFgpe2T2hJgvVnUR9WvPHR4GshmerKrDAxzqICaWMspQbggA 3X0TbhKfb8bDzPAv+nmz+FSetQIWiYGLFu2GSXbQm9aMoS0FenKiDxu8XBeBNPlA0lUe GRoA0P+HaKiD2H4K25rH1qRx7Wcvdm3WcZhFXZ6lhN1WCeIKOeI7KUT0YMAyKnBRZl7o qbule26TbJ0lf7Xq8VukM2vUQrW3/DJdkVyGpbKMiebr21fz/R4wPUGRbbQxYKD5mfLK oAJrWi2sELxQNJeTMTynG9MGHaiJv9nzxdy5U+YMYVHjK44w+qdVZcXoqCVcniH8/SXe 9Hxg== 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=B9qOvQ8+wveFu+UuiTwL2j+NpB1JuND+GARp7dad5Pg=; b=g0Z+OpfehNvxg5+LGFusl/I11qgEuPfo3TMtGSY5s7PJvX+ictH4bETMlne6Ob2y11 7I/loRTjBid8HSzg/e3pJHo95TmHLL545L3iu1+xuZybJ1a9T44eP+zC4mD/qpKVcBQX 1QaP5oadAAak+ACOA7G+h/FNAD72pEaUgaJ+mvUkF3YdoY6yRO2UwuP1X/JsbDlCBpfr R0l+4QC5VPF3hRWa4HE5cy4pZP6cy+D+XnSHWnJvUKZfP3w/JuD3rfkYzCG3nESR36Rq F+E6UJWolJGc/M1PhnnNsOLK9e5UCZ1DjGc98dEs4QDKPZvhvm1EcVWLdG3ajUR+tkAm 6c0g== X-Gm-Message-State: AOAM532ixw4Dfh/7pGSX6r46gBcJlKWlxOv6Q6B0UmUQGI6veeqwpgOw xab45wOOj4B/0MkyQidvs/zX/KiltMsfGJodE00= X-Google-Smtp-Source: ABdhPJyHkJ0uyuLZl10refIh0nO70SpDoQkBn05fTaRO3v9Gw/tYzK1LL7lJ4Az0OUiYN19rnMs0cDBVEONLdLrPuN0= X-Received: by 2002:a92:da51:: with SMTP id p17mr15373381ilq.44.1593425195413; Mon, 29 Jun 2020 03:06:35 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 29 Jun 2020 12:06:00 +0200 Message-ID: To: Max Semenik Cc: =?UTF-8?B?QW5kcsOpIFLDuG1ja2U=?= , PHP Internals List Content-Type: multipart/alternative; boundary="000000000000bfb56c05a936366e" Subject: Re: [PHP-DEV] [RFC] Property write visibility From: deleugyn@gmail.com (Deleu) --000000000000bfb56c05a936366e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I don't dislike the syntax and I think I can get used to it extremely fast, tbh. Are there any other languages that have a similar syntax? Has any other language syntax been considered? On Mon, Jun 29, 2020 at 12:01 PM Max Semenik wrote: > 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 propos= ed > syntax `public:private` is intuitive. Maybe we can come up with something > better? > > > -- > Best regards, > Max Semenik > --=20 Marco Aur=C3=A9lio Deleu --000000000000bfb56c05a936366e--