Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109854 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 65248 invoked from network); 26 Apr 2020 16:21:09 -0000 Received: from unknown (HELO localhost.localdomain) (76.75.200.58) by pb1.pair.com with SMTP; 26 Apr 2020 16:21:09 -0000 To: internals@lists.php.net References: Date: Sun, 26 Apr 2020 15:53:50 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Posted-By: 87.81.129.66 Subject: Re: [PHP-DEV] [VOTE] match expression From: marandall@php.net (Mark Randall) Message-ID: On 26/04/2020 09:15, Marco Pivetta wrote: > I'm not fine with allowing procedural code to be executed on the > right-hand-side of each match. > > By enforcing only expressions to be on the right-hand-side, we get some > nice side-effects too: > I'd be voting YES on the RFC if the blocks were gone. I concur with Marco's statements. Mark Randall marandall@php.net