Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:112217 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 67526 invoked from network); 10 Nov 2020 17:56:32 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 10 Nov 2020 17:56:32 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 8D4EC1804C6 for ; Tue, 10 Nov 2020 09:18:44 -0800 (PST) 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,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-il1-f178.google.com (mail-il1-f178.google.com [209.85.166.178]) (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 ; Tue, 10 Nov 2020 09:18:43 -0800 (PST) Received: by mail-il1-f178.google.com with SMTP id k1so12870154ilc.10 for ; Tue, 10 Nov 2020 09:18:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datadoghq.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bxQSTz5ToV+KANy9D7uuB6yBe3828OUbmFZXHnl9+hc=; b=UjaOgQVQQhwSElm1844Ovn/Xedidx0ZGRXcRXNgQYy1RcmmNANEpjuEaY20AFEG6Kf 6qQVJRGyXija0tXpclU7YRwTJYnblOVWivMtwraxz2LqW4fm8+27MaUw67adeySOs1+5 xgJoc1bHAL4H5Ov1VGiEFTy2IAx5YfvZkqoCg= 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=bxQSTz5ToV+KANy9D7uuB6yBe3828OUbmFZXHnl9+hc=; b=t6BhbCETnu9BnwvL1gWVasGNXE+e6UP1E6gWgVNUYwCx4nm8IITlTTD1v3PkYIdADZ X4ImQiE0tEmVFb8X1qYG/ANpMptwkgdU6O9EclV55zDOCE3DqC7GSNBwv09ihM3uhS53 BoaUtu14Wl/x3pAn4dt9v0pJwBEahks20qk2mdmBNfUALlbV7mce8oDfKxmfn/0stO9d 0p0LVPqjCKip/iD03sowucoGTeOEliqI8KH4FRHQ/7c+QM5UCoGNTKFAmxaESgJanG/x gq8pVcKgkLtwbwZi9S+0Dd+daXVeWSyjgKUbCOfvigM6MriqFPixzw/8x1aNs3kgDS0S WkjQ== X-Gm-Message-State: AOAM530QtRVFQfCZb3n/LuJJKO26aglPdsGJdPBy7inTGaAUVSJi1iI9 4UgYIwK9yuXiwFLGM+r+tc73u9W9Nfx9XWo+QxMnurDYJGw= X-Google-Smtp-Source: ABdhPJy9TBuL0EGaUeoqGq2J6VnvJvO1uAn7NptD6BcemBLTAnYB0VpvXg4c2UnvLCKBSbFdkn2DJoc7VFXpnAMPTUA= X-Received: by 2002:a92:d5d0:: with SMTP id d16mr15727783ilq.223.1605028722159; Tue, 10 Nov 2020 09:18:42 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Reply-To: Levi Morrison Date: Tue, 10 Nov 2020 10:18:31 -0700 Message-ID: To: Dan Ackroyd Cc: PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] [RFC] Draft - Closure self reference From: internals@lists.php.net ("Levi Morrison via internals") On Tue, Nov 10, 2020 at 10:09 AM Dan Ackroyd wrote: > > Hello internals, > > For reasons, I was reviewing the conversation where adding closures to > PHP was added, and it reminded me that currently the only way for a > closure to call itself is slightly terribly, so I drafted an RFC: > > https://wiki.php.net/rfc/closure_self_reference > > Before I spend time on it, is there any strong reason why this is a bad idea? > > cheers > Dan > Ack > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: https://www.php.net/unsub.php Is there any way we can we spell it `__FUNCTION__`?