Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109514 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 12186 invoked from network); 2 Apr 2020 15:19:55 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 2 Apr 2020 15:19:55 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D67D81804E4 for ; Thu, 2 Apr 2020 06:46:35 -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.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS6830 62.179.0.0/17 X-Spam-Virus: No X-Envelope-From: Received: from vie01a-dmta-pe03-3.mx.upcmail.net (vie01a-dmta-pe03-3.mx.upcmail.net [62.179.121.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 2 Apr 2020 06:46:34 -0700 (PDT) Received: from [172.31.216.235] (helo=vie01a-pemc-psmtp-pe12.mail.upcmail.net) by vie01a-dmta-pe03.mx.upcmail.net with esmtp (Exim 4.92) (envelope-from ) id 1jK0Az-0005lS-0C for internals@lists.php.net; Thu, 02 Apr 2020 15:46:33 +0200 Received: from mail02.home ([213.47.8.56]) by vie01a-pemc-psmtp-pe12.mail.upcmail.net with ESMTP id K0A1jg5QT6Jy6K0A1jlsth; Thu, 02 Apr 2020 15:45:33 +0200 X-Env-Mailfrom: markus@fischer.name X-Env-Rcptto: internals@lists.php.net X-SourceIP: 213.47.8.56 X-CNFS-Analysis: v=2.3 cv=GKl27dFK c=1 sm=1 tr=0 a=UsP8JIz990cEySE/ILGzbQ==:117 a=UsP8JIz990cEySE/ILGzbQ==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=IkcTkHD0fZMA:10 a=MKtGQD3n3ToA:10 a=1oJP67jkp3AA:10 a=cl8xLZFz6L8A:10 a=2EALvoLjsrEA:10 a=ZZnuYtJkoWoA:10 a=67BIL_jfAAAA:8 a=nm2nJ6ukpZ5hl6Uw1t8A:9 a=QEXdDO2ut3YA:10 Received: from mail02.home ([192.168.1.14] helo=the-matrix-has-you.local) by mail02.home with esmtp (Exim 4.72) (envelope-from ) id 1jK0A0-0004iy-Ie for internals@lists.php.net; Thu, 02 Apr 2020 15:45:33 +0200 To: internals@lists.php.net References: <5cb01a17-ff6d-b072-30d3-6a891dcc5434@fischer.name> Message-ID: <90a167b7-a848-1a95-9255-862239509283@fischer.name> Date: Thu, 2 Apr 2020 15:45:32 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-Spam_report: Spam detection software, running on the system "scanner01.home", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Him On 02.04.20 12:07, Nikita Popov wrote: > Reflection will see the state after desugaring. That is, it just sees > normal properties and normal constructor args. I've made this more explicit > in the RFC now: https://wiki.php.net/rfc/constructor_promotion#reflection [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: php.net] -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-CMAE-Envelope: MS4wfGccqj9oRgkYs90RJfPogjBlTY1NNFCLVKkDvozmLfRRntjVYOonV+KAFB5elawNjMcFQelgxQw6xEyEU9HrIQRZvBS5yLaHweJgpeSL80/GcBMxcqTh rcrhki6rqArx7kFSv+O7RHZKlnVqamAFSFP1q5wAztlY3SbOLzU8VGgc Subject: Re: [PHP-DEV] [RFC] Constructor Property Promotion From: markus@fischer.name (Markus Fischer) Him On 02.04.20 12:07, Nikita Popov wrote: > Reflection will see the state after desugaring. That is, it just sees > normal properties and normal constructor args. I've made this more explicit > in the RFC now: https://wiki.php.net/rfc/constructor_promotion#reflection Thanks! Another one, also related a bit to your PHP-Parser (?): will the tokenization process "see" the code before desugaring? I'm wondering how automated translation tool can detect that a certain code is not "sugared" and promote this? thanks! - Markus