Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:115375 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 64711 invoked from network); 9 Jul 2021 08:23:00 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 9 Jul 2021 08:23:00 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 89F5C1804D8 for ; Fri, 9 Jul 2021 01:45:27 -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.5 required=5.0 tests=BAYES_40, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, HTML_MESSAGE,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-oi1-f179.google.com (mail-oi1-f179.google.com [209.85.167.179]) (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 ; Fri, 9 Jul 2021 01:45:27 -0700 (PDT) Received: by mail-oi1-f179.google.com with SMTP id a189so1139520oii.2 for ; Fri, 09 Jul 2021 01:45:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=+Oy/EIbhxymSwJaY5Mnh5Wf5S6AleIZcrrcLU73Dbhw=; b=NN5cyNv1L/unJLpHOyFadB8nhIo6RCWuPAoU6F5UUr/iXfdhcMKzT7zbr29HanMgxo wlJDA9U7uPvhOuszv4Kc46wj3MdWQZLPHBnmP+pWlnhXAEZBcCuSm9xKBn45jfxTYRVp rtdjG0smJVjKblK2xrA+EiavvDx1d6YwxL+YaKY2J7W/UF0t5XgpcXrhenA8dxP9r9I7 6SMDQvoTg1e/aXhn+518lkg9tgjsYycqWSP8XCvl7OyQ/AaZRAs8vdpWzDDwcfIDsPVH j6TjjOe4/HIu4gl7mcj7iNCsCYYUPWnweHGEIOvq1NLhnblR1VyTzJGYlu/Nyz80TEvV uCVw== X-Gm-Message-State: AOAM5309rU7YNjuUd1TNrxTomQBtijkeP+3qSi4HaIWYXhlT7CsKDIFH LIbnQ0bWxEClv4RSZreJMBKYVX6XdAyTqA== X-Google-Smtp-Source: ABdhPJwxXECd9bCfEblSbSnMAffZDGmgu2LuRtTeZnXNKbHTtRfDqJAeqDNGFi0ZEeIcmYJpXlME6Q== X-Received: by 2002:a05:6808:20a9:: with SMTP id s41mr5922039oiw.25.1625820322931; Fri, 09 Jul 2021 01:45:22 -0700 (PDT) Received: from mail-oi1-f177.google.com (mail-oi1-f177.google.com. [209.85.167.177]) by smtp.gmail.com with ESMTPSA id l2sm1044656otl.27.2021.07.09.01.45.22 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 09 Jul 2021 01:45:22 -0700 (PDT) Received: by mail-oi1-f177.google.com with SMTP id u11so11403272oiv.1 for ; Fri, 09 Jul 2021 01:45:22 -0700 (PDT) X-Received: by 2002:a05:6808:13c5:: with SMTP id d5mr26300343oiw.163.1625820322456; Fri, 09 Jul 2021 01:45:22 -0700 (PDT) MIME-Version: 1.0 Date: Fri, 9 Jul 2021 10:45:11 +0200 X-Gmail-Original-Message-ID: Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="000000000000c9e9e805c6acca84" Subject: Fake Closure Comparison From: krakjoe@php.net (Joe Watkins) --000000000000c9e9e805c6acca84 Content-Type: text/plain; charset="UTF-8" Morning internals, While discussing some of the details of the first class callable RFC, it became apparent that fake closures (created by Closure::fromCallable) are not currently comparable in a useful way. Although this is not directly related to the first class callable feature, it's likely that the proliferation of this kind of code will follow, so now seems like a good time to fix the problem. https://github.com/php/php-src/pull/7223 Any objections to merging that in master ? Cheers Joe --000000000000c9e9e805c6acca84--