Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:108921 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 55564 invoked from network); 9 Mar 2020 21:14:32 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 9 Mar 2020 21:14:32 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id B9C2D180088 for ; Mon, 9 Mar 2020 12:35:15 -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.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15716 95.128.32.0/21 X-Spam-Virus: No X-Envelope-From: Received: from mx.kolabnow.com (mx.kolabnow.com [95.128.36.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 9 Mar 2020 12:35:14 -0700 (PDT) Received: from localhost (unknown [127.0.0.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTP id 277B5403E5 for ; Mon, 9 Mar 2020 20:35:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:content-language:content-type :content-type:in-reply-to:mime-version:date:date:message-id:from :from:references:subject:subject:received:received:received; s= dkim20160331; t=1583782512; x=1585596913; bh=fa1TUmtBHWeOFrQiXj1 6giUNA1ck8H+e4TL4ZIpZaSo=; b=4eUddDx18+NBuwfy5A7iBlTxwL3I3t+K5gy DJMWpwfL3iSPKg8DVxdsP7M5AGeEBXKlavBxIQ7ICUXvF/qcTkCcoyZZFkaCse/3 o5fRwi0o03461U9AZER6kMg3e27WWAcRL4/ogTGJrXt9t2Hu6TyXlFmQFDddqRJ8 hMaBH6PjP+81+KuoiVglAzd0/PZiNl4iJiS20Ax5Z9FcCFvSSyIi3vaiTpyQq2mx UyoWv6mmiTHQrZsANgvoPJmdQxR9S50ddO8b1ytEW3fq/sl3nmoVKNUvcsdSVKsJ K6tjsz3EHUDjLJ5iqeKT8s94pAWjhNl147Dayzh9acms8t4qpq5dz/ZunNviBYEI Frm9/4RE2oBodwI9xl5i28tTHbI54RM5M8UPvWhAz+E8JgOYLzHfXfTxt5M/fPy0 6AErQzeXZLlh07zAkXDGrqVRluFf/oO5NxGQ6NXhf6b3cwPU3RoJnVVZHMpmLI89 df9qUL0cw1jFiJfDJHAvPzkcAU1n+jGCWBNxGOK+ZN3nm03MgGd+xpZsoIJbdpdb 8iL3Bh7eCThyTH6DdTVbloYOhyVc7S5VKbRD0JrNAORvlnd/e0qhEYKHMCfuQCnX No9mFVYAaBhLtCroN1x05npRup6LSPbqhm4ctyaVdKRxfwAv+4Yybrck/nt9ig56 W9gVpbe8= X-Virus-Scanned: amavisd-new at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out003.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k4-RbpQZ3Bok for ; Mon, 9 Mar 2020 20:35:12 +0100 (CET) Received: from int-mx003.mykolab.com (unknown [10.9.13.3]) by ext-mx-out003.mykolab.com (Postfix) with ESMTPS id 6CB2540325 for ; Mon, 9 Mar 2020 20:35:12 +0100 (CET) Received: from ext-subm001.mykolab.com (unknown [10.9.6.1]) by int-mx003.mykolab.com (Postfix) with ESMTPS id 282833E52 for ; Mon, 9 Mar 2020 20:35:12 +0100 (CET) To: internals@lists.php.net References: Message-ID: <86a6c63d-90d9-2baa-a4a2-cfccdc4673ff@alec.pl> Date: Mon, 9 Mar 2020 20:35:10 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Attributes v2 From: alec@alec.pl (Aleksander Machniak) On 09.03.2020 15:42, Benjamin Eberlei wrote: > The RFC is at https://wiki.php.net/rfc/attributes_v2 Would it make sense to support this: <> <> <> function foo() {} in this form: << WithoutArgument; // comments allowed here SingleArgument(0); FewArguments('Hello', 'World'); >> function foo() {} or if there's not many attributes, in the same line: <> It may look better for the short version, but I'm not so sure about the long version. -- Aleksander Machniak Kolab Groupware Developer [https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] ---------------------------------------------------- PGP: 19359DC1 # Blog: https://kolabian.wordpress.com