Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111605 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 88706 invoked from network); 18 Aug 2020 07:48:06 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 18 Aug 2020 07:48:06 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 57830180089 for ; Mon, 17 Aug 2020 23:49:12 -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,SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mx.kolabnow.com (mx.kolabnow.com [95.128.36.40]) (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, 17 Aug 2020 23:49:11 -0700 (PDT) Received: from localhost (unknown [127.0.0.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTP id 9D946A80 for ; Tue, 18 Aug 2020 08:49:09 +0200 (CEST) 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=1597733349; x=1599547750; bh=tCGqyhiO5uUFtwoSOLM H1INZXfnJMzMqrBlm+LJqkiw=; b=wuOGN5ZRkE3+B2fe9Nck1YB5NJx9x5dmvnZ JmWM5aBnQIQTocSMRlMe3UmwEYRRsm40UFQOYpB7sAcE7wtNRm3iTlH3QmwZRr7m m9DLor+B6NEsJIQ90fymjsjH16tH1XD9GMjjXolCDwXlu2kNQWz7hVJbPTYmKUgP Vc0q1hpqh7NoPlIFuAptRQ/3m/96MTfA/fQjaJHuL5EAvP36eMpyfuuQsUPk893x igyo8pab07lkGg3XSQuwvrk4kyX9rOMW8y/Zp5no+5RdX8Ocuh+PRH7yNOqy4jfc qPNVojDpZs6mYyGuPrSjKCsNnFzsS3Y6sU+lj5qG2I5XiaN30KTuQUgRcQUAJOgF t6q2b3UPPWyeo3LNRo5nr5mp91gsDlpUQ032aq5PE3G5NRY9UbJ7uVpJ84quluzZ TkGfxIbNcp630Px7/YtlHoLv+lTCDBCX9PAST1Bt6MktTy9gDeYwHmv5Lii8CbRA MlC3Q9u6mk4/sB2Sd0EKAmGwPMuQ+GBZojKbmXFVJSt+GgIndRu6R5McTIZBieX8 Htk5aWiOmZreE1bwHImNJcxNujFy7bYcW9xrabRgI8ND9EDgql2We2Ks9HKnuu3d Pte23mth/OEMr673GGvMEVklmsoJHIz6IlwLe0T6uvhPuNmLsgJjbwstp/eZ9NmD ozTbQk3s= X-Virus-Scanned: amavisd-new at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6JdS6bQIMbTG for ; Tue, 18 Aug 2020 08:49:09 +0200 (CEST) Received: from int-mx003.mykolab.com (unknown [10.9.13.3]) by ext-mx-out002.mykolab.com (Postfix) with ESMTPS id 24CBC33A for ; Tue, 18 Aug 2020 08:49:08 +0200 (CEST) Received: from ext-subm003.mykolab.com (unknown [10.9.6.3]) by int-mx003.mykolab.com (Postfix) with ESMTPS id DA0A833B0 for ; Tue, 18 Aug 2020 08:49:08 +0200 (CEST) To: internals@lists.php.net References: <7d6c42a4-53cd-5e38-4ffc-02fe490d66a3@gmx.net> <9A07334F-1A55-4E7D-88B5-7E6BABFB5E81@newclarity.net> Message-ID: Date: Tue, 18 Aug 2020 08:49:07 +0200 MIME-Version: 1.0 In-Reply-To: <9A07334F-1A55-4E7D-88B5-7E6BABFB5E81@newclarity.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [VOTE] Shorter Attribute Syntax Change From: alec@alec.pl (Aleksander Machniak) On 18.08.2020 00:35, Mike Schinkel wrote: > 1. Postpone inclusion of attributes until PHP 8.1 +1 I wonder why my suggestion (somewhere in this thread) didn't get any attention. Is it because the ship had sailed or it's a terrible idea? declare( SomeAttr, AnotherAttr("Hello world") ) function someFunc() { } It's almost identical to #[] or @[], but it looks like PHP and has no BC breaks. To me it also sounds good - "declare attribute(s) [for] something". ps. sorry Mike for a duplicate, I pressed the wrong button. -- Aleksander Machniak Kolab Groupware Developer [https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] ---------------------------------------------------- PGP: 19359DC1 # Blog: https://kolabian.wordpress.com