Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:114277 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 15880 invoked from network); 4 May 2021 20:28:04 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 4 May 2021 20:28:04 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 46B891804D8 for ; Tue, 4 May 2021 13:34:11 -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,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) (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, 4 May 2021 13:34:10 -0700 (PDT) Received: by mail-ed1-f53.google.com with SMTP id i24so11966436edy.8 for ; Tue, 04 May 2021 13:34:10 -0700 (PDT) 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-language:content-transfer-encoding; bh=6NssGfk1JrZTrIcCsJ8SjoX4pnsGVZsEJOFGjxE/7H4=; b=PlB1Fej9lMBMmrRueNruYRRoQxp/ZI3ZDo9ARsAxAzuCKnmmfbVUK/k+j0YSJA2e5F rRbyHcKJSY3T9tM6oPCuqkCTLJ2iTDBe7puF6MVVFfHG1LvFtnhErNrmLrkrHlM7UKog o2Y2xPdnw0qGjIVv4HgNMm7gvCzyh0d1k+BIhaTG7eEmTsmS9RoJeKplf/VfwY4gym7k 3+LT/s69+rhiziCbnACi53R3AeEf5xVOkehYj+EZENaPPKXdtzGt5D7Cvsim32GVvs/T dsPwjvuzGJ2tHI6V7rfDuCD1aNEMMJ0DznfHpv2bPiQmF6aM93a0fEfZPJoy+RC/DWFi WLbw== 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-language :content-transfer-encoding; bh=6NssGfk1JrZTrIcCsJ8SjoX4pnsGVZsEJOFGjxE/7H4=; b=gDKhmg7kdNbVPCPg2UnGT3G5pTg3naFzFYauAR4x72JWhQ9+qx5ETUdRqYICsoOjA1 qG866lqGZW/TpUxiwdLprcTFotkaXiCD7HcJNLuJf/LoCtlKgqbS1v53EW93DOdB2/eI Znr/ItLzs4edNufWjqwIhQo7IAxH6x7lAfo3oFT9kAfx2e7AHrigNfKhWMHV1q7Lqz/B pNg0ezL3NV4gOad4jCMUawjzZa2Tm4EtUgjKmsm2Kx62SneVlFbdfu78UZpfv00bamKi NGFCcKxN1sHqOL2qf2wYmfZjcd5Q5ecD9fekeUZNiKi9xwirfsrX7172F9cgAW7n0TiN it5A== X-Gm-Message-State: AOAM530Aj4Ik21j4Ft+rI47GtskOhgHKOkXt2Zjjv9WhOdyeakpV5atT X0YSqMAwu9PMRUnj4Awt2FqU4tJ/ZZk= X-Google-Smtp-Source: ABdhPJzb9Sr24UpBY6YT4Myx7Wf90l6WR4frBKloxyPQCYFJAPUoiMPBMP08QTq7wk9cRB+vshLnug== X-Received: by 2002:a50:eb45:: with SMTP id z5mr28228087edp.243.1620160449819; Tue, 04 May 2021 13:34:09 -0700 (PDT) Received: from ?IPv6:2001:983:6fc5:1:34fe:abaa:a0b1:6b44? ([2001:983:6fc5:1:34fe:abaa:a0b1:6b44]) by smtp.gmail.com with ESMTPSA id r16sm6545065edq.87.2021.05.04.13.34.09 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 May 2021 13:34:09 -0700 (PDT) To: internals@lists.php.net References: Message-ID: <3e7bc1e2-9ab0-f8c7-9d4a-f7bf3e7cf2a7@gmail.com> Date: Tue, 4 May 2021 22:34:08 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Property accessors From: dik.takken@gmail.com (Dik Takken) On 04-05-2021 12:57, Marco Pivetta wrote: > * instead of allowing by-ref `get` declaration, can we just kill it here, > before it breeds again? I don't think I need to explain the woes of by-ref > to internals, but removing the ability to declare new accessors by-ref > would be a huge win for the engine and the language long-term. Would killing it imply that the following example from the RFC: $test->prop[] = 42; behaves differently depending on 'prop' being either a regular class property or a property with associated get accessor? Regards, Dik Takken