Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:126998 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 489B61ADC4B for ; Tue, 1 Apr 2025 09:03:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1743498046; bh=HRhjxc8eaDbsqjEnydv3erzNORXF4A5VXd/NSI3eWJM=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=iya46U7y1tFhDddTgsiQTD/rSvCqxurcYJbMAbFEErq5fA6aNiezy+2209fnDAqGp DO1L8F3WWftkEH3CpfLk72EE5BnWcNKBGjvwrAG9teLkKjfgzUfzW4E+DpgUEYIXRY zGebyEJLd6ZMY2cLhzPw2KMgkCo4MUNkMWp0BZ5P6pHqIAfcT1GV1Iz5vBpNwUAExW CSwCN5ZfG4DMerKzXOzm+1wUq3aV1sdT9AM+AQOfvdGf6OuZM9KVm84j98GMqFm6VF 3YZqGSFFc6yced2uFDJeGRXABmqEo/mU4gwOLcALisSjOSp3vlbExnw1S+11ZX+ewQ XRPjMceQ5BOuw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 933F918054D for ; Tue, 1 Apr 2025 09:00:44 +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=0.9 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) (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 ; Tue, 1 Apr 2025 09:00:42 +0000 (UTC) Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-224191d92e4so98169035ad.3 for ; Tue, 01 Apr 2025 02:03:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743498189; x=1744102989; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=HRhjxc8eaDbsqjEnydv3erzNORXF4A5VXd/NSI3eWJM=; b=WWTiBklTCZjZ4k0EjyepOwYtBdNKIKCoGJZN+jYKzo9i9wVBpFHnDRUeeu3ppXK7UG mjnpw2gkih+BklcT1oZjyseMup0oR6xSI0Zv70RiIMz+tRS15mbb9nV5IUUfhl43zibk eFw9TRsDwtoJYW0ezQt4ZWBak1Lc6F7U96azjKEEY+x3FgGEzD9d4Et2r/v60HIokyWQ Euxpx8h5KqNz0FHo/qCg6XTYBoMUHPzP7iCmgLs7a2FsHalSsjtp8PJVjyM9NcP1IC6U XTiVSWqYWWt6PRRKhys6/a9VkICe3c6IFvvXlgi1RGAiidCXbyLAHhfMuZPZpuPT89Sp SEbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743498189; x=1744102989; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HRhjxc8eaDbsqjEnydv3erzNORXF4A5VXd/NSI3eWJM=; b=pajFkflLmZKhx9qdw2oRRYBwFzEecbnT0hPBO1x9nyQk2ASGzx7C8VyNC1asWkSaEi 2CRr0cW4pKiRY43OKKQmf5DSpTF9W5zRQrYJa1KhVFswfjBiMQK78/z/nV8H8bpuVgoK sX6pXIoWw7PL4kAnJcDyJGrSyplkE6S9DCzqLeTZ8h+2wZatlYuNIWc0+/XrTDN9lOKv OuTJwE3giWpxsFKvqMrQZLIUfeR24KoM6y7+UmFLHjV+cwsFLbvYQI1AHF+s84ZOuz+H CNPmaU1VWc07OR9wEmOSgDGtLaGTtH7mDIJuhdLrNXTUYf4vDI7jw52PcJ9hSsfKpa8U +MEA== X-Gm-Message-State: AOJu0YyqwLl1CtvfUsNjEongjKx5sPkgoy8PMQFXmil0WWIc3mPjQWpI T5H5//e/l2uieyTd0qqvY9cSaoHVBAoRh2cJkhJ0Ne6yoAehXLbgwhry6GF9IXxDsssr2M1siI0 pAPU8qbaLDyWLku6JepJgZInbx/xg7atjEuc= X-Gm-Gg: ASbGncu3ph2RJqU5qCoVxhzvUWnsCpKlRumxcICO6BeRVNfvOVmupKrXCcXmoPdyA81 /JK0+cC/GtPM+kaGrRzUEI0GwEysvd4wQSJntNJj09p/FgLdudRjh6GEVyQFbTPKQxbwbJHqYSA I4mDhSytsYy/DIJK1omcMQL8OH7T/g/9nUS48Szw== X-Google-Smtp-Source: AGHT+IG5vNO0n6nK+iVSFq8eh5phx9yGVfwtZSurCoJY1qsV6jgZJqLpp00pxtq0xqOHALvEy+huID4sr2blMgpuDho= X-Received: by 2002:a17:90a:e185:b0:2ff:5357:1c7e with SMTP id 98e67ed59e1d1-305320b180bmr17586156a91.20.1743498188692; Tue, 01 Apr 2025 02:03:08 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <7ec4933d-0b9e-4c5a-bdb3-6a1a93c5ca62@varteg.nz> In-Reply-To: <7ec4933d-0b9e-4c5a-bdb3-6a1a93c5ca62@varteg.nz> Date: Tue, 1 Apr 2025 11:02:32 +0200 X-Gm-Features: AQ5f1JqcAD8cYeSvCNfpAsetOHpZuI8rWKYClhbAD992xl1CBP0kpgn8NL5j_2A Message-ID: Subject: Re: [PHP-DEV] Closure::getCurrent() for recursion To: Morgan Cc: internals@lists.php.net Content-Type: text/plain; charset="UTF-8" From: divinity76@gmail.com (Hans Henrik Bergan) @Jorg the desired output is 14. @Morgan $second=function(array $a, callable $first){...}