Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:120195 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 9147 invoked from network); 5 May 2023 16:00:36 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 5 May 2023 16:00:36 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 616DB18050B for ; Fri, 5 May 2023 09:00:36 -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=1.6 required=5.0 tests=BAYES_50,SPF_HELO_PASS, SPF_NEUTRAL,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS30827 82.113.144.0/20 X-Spam-Virus: No X-Envelope-From: Received: from xdebug.org (xdebug.org [82.113.146.227]) by php-smtp4.php.net (Postfix) with ESMTP for ; Fri, 5 May 2023 09:00:35 -0700 (PDT) Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id 36D2910C401; Fri, 5 May 2023 17:00:34 +0100 (BST) Date: Fri, 5 May 2023 17:00:34 +0100 (BST) To: Larry Garfield cc: php internals In-Reply-To: <6b5de716-d769-4f0b-b3e6-5a5a211f035a@app.fastmail.com> Message-ID: <02d88c78-65ba-05cf-926b-58ae844dfd29@php.net> References: <6b5de716-d769-4f0b-b3e6-5a5a211f035a@app.fastmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Re: [PHP-DEV] [Discussion] Callable types via Interfaces From: derick@php.net (Derick Rethans) On Thu, 20 Apr 2023, Larry Garfield wrote: > Before we dig into any of those edge cases, however, we want to throw > the question out: Is this general approach even acceptable? I think I would vote against all three options. It is hard to put a pulse on, but IMO it looks too complex. I'd say: wait for type aliases. cheers, Derick