Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109843 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 48890 invoked from network); 25 Apr 2020 12:31:20 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 25 Apr 2020 12:31:20 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 13B711804D0 for ; Sat, 25 Apr 2020 04:03:45 -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=0.0 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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-ua1-f52.google.com (mail-ua1-f52.google.com [209.85.222.52]) (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 ; Sat, 25 Apr 2020 04:03:44 -0700 (PDT) Received: by mail-ua1-f52.google.com with SMTP id a10so12154158uad.7 for ; Sat, 25 Apr 2020 04:03:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=basereality-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wK7CxCf3tpl/GUclHrEbHswKZD1pUWC1c3KresQac4c=; b=KFfeeWuzlmDhC7S2e/kpv0DGNkPCZXbL10y9eOV8ZoVVtwi1MLIIIQpJw4n9U7gQug zRozPHRd5BiOb5o1cZ39yOC23nUY33upod6HNEPL0NdzktWfaZmPcxuw0O/O7N6hazAC bp8KL30E70nX/0L4F/KSQCYc8sd09GchsDaEiaF6cOK2ep8/Z+ekK5t39AXRLUKFEhwD w7CsJKyRJDZnIBHB6wg5QtoHuV+XflFuvIxex+J+RYP6vyxtsIL5sGIg8zyutOio8SDQ 2wdZ/aX1k2+zE4OXTwwIh35QH4C4C9cfzHlDVcNICaX+51FHxRnT71unSggQDEuEZXkd 3rvQ== 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=wK7CxCf3tpl/GUclHrEbHswKZD1pUWC1c3KresQac4c=; b=IiVTpGzXe6OTITxZvqHMGdBWY+HVnQqrBMnqjAhCbdqf2qIgdIMW2JNarPBWk8CG3y jbj2mhvEzhl62bCRMc3gxyihoOQ1/PJqVeCB1bjGKhBnEyFJN+UIt3UqAWrsH0FgJYV9 knewmk2Ag71eeEwkKqqMcyKjXn7ckYRHgvUnTqRT30NhVVQaDtLxJ0Tn6HdxDhSvLEYO QWEldejEh6ylQys5O8dz3V7ABKDyNcUIt2EnaQ8iA3spMHGLr+LLZAfB673EenEm3S45 QOctUaNiI3esafYqOlYafn190PHhlRjypMfLIkpNCbSWf4ETbsPtAQo9w+4P2khz1CtP B3VQ== X-Gm-Message-State: AGi0PuakgyFhYc6tPuHEZBDkvM5IpV6o+yw++DUMSG8se4J96nb2lXma HSYhopa+tAhgz+L7Dj71RbJ8ecaavaxfFIW5aDXJqg== X-Google-Smtp-Source: APiQypKGK834sTcUu7oNROc4rf2yx8vJnra/4nX4k4w9OMhdRRoKM7ZxyBTslGEl5rdsSserb0N6xSmNxFjbLKIKM1g= X-Received: by 2002:a67:edd8:: with SMTP id e24mr10656796vsp.46.1587812621941; Sat, 25 Apr 2020 04:03:41 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Sat, 25 Apr 2020 12:03:31 +0100 Message-ID: To: Ilija Tovilo Cc: PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] [VOTE] match expression From: Danack@basereality.com (Dan Ackroyd) On Sat, 25 Apr 2020 at 11:40, Ilija Tovilo wrote: > > Hi internals > > I have opened the voting on the match expression RFC. It will end on > 9th of May, 2020. > https://wiki.php.net/rfc/match_expression > > Here are the last changes: Hi Ilija, I like this idea, and would like to see 'match' in PHP. At the same time, is there any need to have the vote right now? The deadline for PHP 8 feature freeze is July 27 2020. There were changes to the proposal overnight, which people have not even had a chance to read, let alone think about. To me it feels like the RFC is being rushed to a vote, with respect to the recent changes and the technical problem you describe. > Unfortunately, we discovered some technical difficulties (memory > leaks) which are very hard to solve. Nikita is experimenting on a > possible solution. It also seems the voting options were also changed last night. - The vote is a straight Yes/No vote for accepting the RFC and merging the patch. + "Would you like to add match expressions to the language?" + "Should the semicolon for match in statement form be optional?" + "Should we allow dropping (true) condition?" I think it would be better to continue the conversation and work through the trade-offs when voting isn't active, rather than just hoping people pick the correct choices, or have a contentious time-limited discussion. cheers Dan Ack