Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:126985 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id F2D891A00BC for ; Mon, 31 Mar 2025 20:44:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1743453742; bh=CINcXXRc70RkCuzxnsHeo9qNA0An3aNSBJAdKcp6+7I=; h=Date:Subject:To:References:From:In-Reply-To:From; b=mymZgkQNcpU3xLz9V1w5DrPC2jaEE/TYNFIEFKPL+/TLIeYjdBUiy19hQww1wMM7Q Ewy+JHpBAAhJXC2crIE9zt3H0c3aTtq2IG5ef+Gqsghrbu1598IZng3+el0GmhxUP6 4bE+z29KFjBzjh/3vKBU8rgEBiL48eumZSY/HhI08Wtr0lKgJ/H8DiqN7CmIi/Meux M+kcccIBZVfmlLqT4FGVtveS6XZmMkDLtnp3TQRoSYIoK2p48kqXqvKe9qGgUZf682 ZDDNxSf0o0x97RM40jUTpC+H+AusdwuZTdgkYI3ir1rb2+RXFPfA6D6CrWz4YCed0S bu0Z5TXCVjZIQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 1EE77180212 for ; Mon, 31 Mar 2025 20:42:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 31 Mar 2025 20:42:21 +0000 (UTC) Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-43cf0d787eeso45811915e9.3 for ; Mon, 31 Mar 2025 13:44:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743453888; x=1744058688; darn=lists.php.net; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=CINcXXRc70RkCuzxnsHeo9qNA0An3aNSBJAdKcp6+7I=; b=nDOcFvVBiSSYrBxMjr9Vjo80ov+4Z533LOOjavwYDfhtEbMkgNFa6LGruhPIIF2oJJ JN/pqk8PF7nJPId7Q0xYFuBLXJnbZpfxcLamq2sIWpt9I02/thIQIEfRWN55UyTwDvL5 oLhlxJv8mId1/leijf2iiFN+oGeIUOcHM15Ke9eK8W08bUQL+QR/pOyTvxEDf/LFtITZ umfqpCB/bu2sMwWHgAcITEB/utVDFOJ2yMHdvHfAmaCSgGEBCoEHcA5wDH9FaikBO1yf vjqvAZMGt2hCrXj7M7BMXgrnmoT70Hj82xfpXCPnnWWUxGf+hI0dQHDPDIda9ak9SgrH I8pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743453888; x=1744058688; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CINcXXRc70RkCuzxnsHeo9qNA0An3aNSBJAdKcp6+7I=; b=ta29FN8DuQfIDwBpW3/c8Z17opLR8SRzPI6NV5O1kPP2tAJx7dIO7GjbdWzzHLhdAk kKvyzK9vJJ3Ud2bP5mMtn7RazS4wrZ1Xn3GmZm3pBJhH+EumDEQAHgvLh9duSQa1+cq1 wmXXk3Pm8ICguO05Bc1dXdlZvHjjbmMikhOqCcmDrqvI81AT+buOnGRrBErh4PYcZOkC a/vL2XbWZ3gIO3bvw+OEMull2kCOeC95WxWtd9QHj+NGyMs7O6FzK/sSYxJOT0Tva/uL JWRFE2v4QYPPz/VlULzfR9rkmPme6WInnzY8KR9NIXQdnwjCE1uCXzXmdBIbUmOPFYX1 7JMQ== X-Gm-Message-State: AOJu0YwVbxnzd9xR42Ym1yFCHHhLkGdmklzh/hg3Tum362qdc+wSl1Dq U9hcuxeZBeCS+CcwYfMzQOEKeHdEEHHRq5RtmdhmdWIHn7+dy4ZSgh3D7PrA X-Gm-Gg: ASbGncvO9VK/xfg/GzZu1IHV8a0yd5NLlxOISK8P9xHXXKFd+k4XlKYAR9LF+THiIu0 1NHIV2TXFRsKKckfWiT8ODoISuP0EwK7XWQeXd9dhlni0XVwBwyz5CO+0v2cUsaQJBkDYIoNsWF 0WcqfQZOcDIrJ4j5cmf4WM5dSM13l1xUtJmNRVyd1dbwbr1U+GeEBTvKwnoYYhB5FHyOplDQhmq +yye9VAJXlfcNBEgy4U0eUEF8fAPDwyWjAb4Wr4CpSLI1l+MmKBSSUe3Wnxn043sUVoHZakDAv7 bWD98/WM5vZ4Du2M4cSTfXj7FMGp14Tj0C7wwj2BGbwGHGaPdt5cuClvl/wDNVKbIJpycTD4BnY JX67azyu1Ib7f3cP29+Bz2c7Kp6AQYBeDPSTyKnXZDvamigbcMzWXns+Zq3qoA2eyeIdoRieGd3 Qlvf+s0ShX X-Google-Smtp-Source: AGHT+IGq3GglViw75NNPqC4WRmqXBoTFcTxChGiBqmieS+9kIImxQ+g/5TPC3EgMuZ+coZvytuedXw== X-Received: by 2002:a05:600c:1f17:b0:439:643a:c8d5 with SMTP id 5b1f17b1804b1-43e99ab533cmr66365805e9.0.1743453887793; Mon, 31 Mar 2025 13:44:47 -0700 (PDT) Received: from ?IPV6:2a02:1811:cd2f:3500:e093:fcad:4f6:e542? (ptr-du5vm7f5ekzptmf0fgi.18120a2.ip6.access.telenet.be. [2a02:1811:cd2f:3500:e093:fcad:4f6:e542]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-39c0b79e3b0sm12183327f8f.74.2025.03.31.13.44.47 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 31 Mar 2025 13:44:47 -0700 (PDT) Message-ID: <981764ba-02cd-4dba-b09a-4429400b08b2@gmail.com> Date: Mon, 31 Mar 2025 22:46:54 +0200 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] Closure::getCurrent() for recursion To: internals@lists.php.net References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit From: dossche.niels@gmail.com (Niels Dossche) Hi I looked at it earlier, when you opened the PR. I also remember the discussion from the past. Your PR is super logical, and a super easy implementation. Language change seems unnecessary indeed. LGTM, ship it! Kind regards Niels