Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:119018 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 48312 invoked from network); 20 Nov 2022 13:21:11 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 20 Nov 2022 13:21:11 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 20B7B1804BE for ; Sun, 20 Nov 2022 05:21:10 -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=-0.5 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE 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-f41.google.com (mail-vs1-f41.google.com [209.85.217.41]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 20 Nov 2022 05:21:09 -0800 (PST) Received: by mail-vs1-f41.google.com with SMTP id l190so8895752vsc.10 for ; Sun, 20 Nov 2022 05:21:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=basereality-com.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=9gaRvh5L6jnKX1WFQVx/EkNd9Eyi1yQ2QRPE2rjuZck=; b=Mnqr5WRlLCswyp3Tf2LBOKnXKMLGBBAbpPK756WYLVOvt3PiXGx4pJrplxg/OcrdJY 32qFXAsuiwDAh52XrVkXt4maNZpQeFH0uE7UzjEZfH9FVmN07MgkCr8WQbLVTj5mw9C9 TYdeW/SDu3GnZWGgW3gzwkkDN1s7OlJ+GFx4MraWNS5xjLBGl2LDBq/YSEurlf/7t7Jd TdVYTVfHC10l3YAOGkuocqe1pRp35VsMzP/vgrWr9xlVIayaxjOflin7wFaHFMKmX5o3 tLHsC2Txj6s8tasmadxsCEbaBB5WcteS9/+7PXeO/UJDz9ZbASJbe0sIHgvOUQdwriYD Lbag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9gaRvh5L6jnKX1WFQVx/EkNd9Eyi1yQ2QRPE2rjuZck=; b=hTEaI1Pzq7Vx5k33pgqAT+WZLS4Ut+nGNhYiN0AtukIHHkiQ4UFV6vP7USqtSfxnxF NhZr06ucG0YtluaitXfNPrp8cQ9tIrpHJbclblHpj82I2HAd8/XEsNVIgK8fLwuy8sLL 3mKrM1I+jhKpSbq6unxi8WrxKpx5bKcdSMMqMEU/lgCLfbDodiS4UADvCb0Ntos3Sf5z jtXBJKYkOyluaayOsaIKbNa6yCx6EINfP0yjWE7bMkMGn2PE+1OBqMQ8VbNa91LYdOwP igMrm4usGc9myp3Vxm6XhRuOaee6dTEPxoo5Uw/1B3TQjY4ZZ4ShH1dSKfTwofef+LH/ AVtQ== X-Gm-Message-State: ANoB5pmwwQc8RO7vGZt3JEWfke6i7tbO9Wd8OH5cvKUa3GQdB1/u3xvV 25HgOPhaQCS3BUT8ld27nVPMpLR6HsMt3W/zw7zYaJvoybZ2jA== X-Google-Smtp-Source: AA0mqf6uGYH3jsRRMB56HE0sPn9JWWsv5x2oOA8tFw8HejIJrb7w3BRyeCgU1P/u8qvYUTfRCtbXaNaXbwHsF7bIMMU= X-Received: by 2002:a05:6102:dc8:b0:3a9:682c:119d with SMTP id e8-20020a0561020dc800b003a9682c119dmr1077534vst.11.1668950468807; Sun, 20 Nov 2022 05:21:08 -0800 (PST) MIME-Version: 1.0 References: <0854b030-c51c-4c1b-a7dd-22835a1e5da9@app.fastmail.com> In-Reply-To: <0854b030-c51c-4c1b-a7dd-22835a1e5da9@app.fastmail.com> Date: Sun, 20 Nov 2022 13:20:55 +0000 Message-ID: To: Larry Garfield Cc: php internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] [RFC] Asymmetric Visibility, with readonly From: Danack@basereality.com (Dan Ackroyd) Hi Larry, Regarding the syntax, up until now PHP has only supported the letters a-z and underscore in keywords. I realise this is an aesthetic thing, but "private(set)" looks like a function to me, and not a keyword. I saw the previous poll, and it didn't include options for either protected_set/private_set or protectedset/privateset. Was there a technical reason for excluding them as an option? On Sun, 13 Nov 2022 at 20:09, Larry Garfield wrote: > > That creates an odd situation where readonly and asymmetric visibility > may only be combined "sometimes."... > > 2. Disallow readonly and asymmetric visibility being combined, because > readonly already has a hard-coded implied asymmetric visibility. This is getting quite complicated. I think unless someone makes a strong case for allowing the combination of the two, disallowing them being combined is probably the best choice. cheers Dan Ack