Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:118192 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 98689 invoked from network); 5 Jul 2022 05:35:05 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 5 Jul 2022 05:35:05 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 15AAE18037E for ; Tue, 5 Jul 2022 00:27:48 -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,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, 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-yw1-f173.google.com (mail-yw1-f173.google.com [209.85.128.173]) (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 ; Tue, 5 Jul 2022 00:27:47 -0700 (PDT) Received: by mail-yw1-f173.google.com with SMTP id 00721157ae682-31cb2c649f7so25584037b3.11 for ; Tue, 05 Jul 2022 00:27:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9OXrPr4Dyaptneaw1r78VZ046ignZNR+5Bx6aKNR87c=; b=TXvFendMpwccYFBDFCq5uJVnNAhKLsmZdCdh4Cw3HG9VA5WW55vkaJhiEDAhF5uBGh MHLrhlOsCRzfyJ9julbGbBGnX+6VfRnXBOZqbPfZXGnyLjf913Y6/1qHqazmFicwnJ3Z GmqXp0RuhBlIuHB8f2cvc0Xn+eKWSqcPeqqx4DUgWN0hAA+LYv7lbPxyefIEbbN5neXg adbKeLxmohtfwQoKOEznjNmX3Y6bu/JoG0eh0+l2GLwTcywpr9waRAc386QWWdQ3bCQy 7LM2LE9d6BN/pVgAQh04R+b+JZkeZATK5pHzcBKMXYsOohFUxyG46kInhKW2fYmz3KIR oDcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9OXrPr4Dyaptneaw1r78VZ046ignZNR+5Bx6aKNR87c=; b=0qUa4PrpdxfoBC6h5GHTpUamCJ/Sz7TCHTnbO5uz2JBosJCvD25/EDz8nRSA3cMZ3E 57qg/cVQqGwJEVJOYUnlgML4W3+XU5Q6RVOjZnj+pi+vcFth3PzO/ZrOG1lOEmE+MZpS Rpe9Qhnt07mPVDuva4xzKmLheBIGAzJQHgVXNVIfaC9F+Wnb3LksMAYtf9eUWQfZiSxl iJ0ZHA1ZcW0YZ2zTIKY7taAgVlP8xb5rK5v4HsXesd+MsPQ1szmjKaF9Q/+6ULuRv6NG /wb8E0N8oNrNkMsIdDw09SYxXarrMgZqm0k33N2RzrmKJuTdrG78vcqu5OnJSWO7gov7 Kbeg== X-Gm-Message-State: AJIora9zXVnauUqfGK2SytfTr8heh/EYzp8lT+Z+IldLm462fLI6mwIQ KVdVTC8zs+qDcotkrWp70vuLCf5nbg0zemZ+gdpE4FtJLPc= X-Google-Smtp-Source: AGRyM1tpdV0vC0eclTXowm+MS745+v7hyRUB2jWQVQb0PHESpk4JRk0v8keJjBYG2RuvVqtMs8IZAfisLI6K1IBqGrc= X-Received: by 2002:a81:1804:0:b0:31c:b5d0:1ae1 with SMTP id 4-20020a811804000000b0031cb5d01ae1mr5416355ywy.144.1657006067100; Tue, 05 Jul 2022 00:27:47 -0700 (PDT) MIME-Version: 1.0 References: <6128711.lOV4Wx5bFT@arnaud-t490> In-Reply-To: <6128711.lOV4Wx5bFT@arnaud-t490> Date: Tue, 5 Jul 2022 09:27:34 +0200 Message-ID: To: Arnaud Le Blanc Cc: Larry Garfield , PHP Internals List Content-Type: multipart/alternative; boundary="00000000000005306c05e309caba" Subject: Re: [PHP-DEV] [RFC][Vote] Auto-capture closures From: ocramius@gmail.com (Marco Pivetta) --00000000000005306c05e309caba Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 4 Jul 2022, 19:15 Arnaud Le Blanc, wrote: > > Important to note how `Zend/zend_compile.c` now depends on `Optimizer/`= , > > which is a potential design issue. > > The Optimizer was moved to `Zend/Optimizer` earlier so that in the long > term > it could be used by the compiler pipeline directly (rather than as part o= f > caching). > Thanks for clarifying! > > There are clear benefits in reusing the Optimizer here. Duplicating or > reimplementing live variable analysis would increase maintenance cost, > whereas > by reusing the Optimizer's implementation we take profit of a fast and > well > tested implementation. > > Greets, > This is fine, but it creates a bidirectional dependency between components where the dependency graph was previously (in theory) acyclic. This will become "someone else's problem" =F0=9F=98=AC --00000000000005306c05e309caba--