Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111486 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 93013 invoked from network); 12 Aug 2020 11:06:22 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 12 Aug 2020 11:06:22 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 39B641804D9 for ; Wed, 12 Aug 2020 03:06:00 -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.0 required=5.0 tests=BAYES_20,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 ; Wed, 12 Aug 2020 03:05:58 -0700 (PDT) Received: from localhost (unknown [127.0.0.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTP id 93BF4600 for ; Wed, 12 Aug 2020 12:05:57 +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=1597226756; x=1599041157; bh=g+OnGyIze6kkGmVs6bP +FLhR2J88F+6fHbHOy0AhTSo=; b=m16Y799MlCcdrveU9is8VyIH61sEsg3K97j ljGpZn+HfMh7rym4UlBvYU6435oPcgQrgHdy30LhFu5a3aP1Ab6Ij2QP/71KsHXs Bb6wT5gwyuAPCpzf4fiRTbepu5VJ3++IMZhHJ3KPCLOdCOILH4dHxqWu4WmALI+1 Ehqvio+xMIERTV8EifIv/4vr4cbefgIniCHHtOZZ2oFYC/jXYmvlK/1Sc8SF+6Z+ nAXg5/ixEvTGhoxMtHxwYy9Q3wwZPxbzfgzw113Al/qRcAfS1d0mZgq2S8TD6X0u o9DjYO5Pvirg60/b/UWziNgj138LjTcTDxPkwUKTbrY0RgTlTxciG/hj8rvM6LNO dcSpI8t/KaEebT9+k2yC7yD6jnPsk8bbd65sfanYi3hK1R7aJ8hA0iQOJyhdYl1y h2t72qa/y77lpJ2fTRj6u1thH6HD71eQnpIhx0MLYl3k8hHR9fpJY9Nm6aTek8+u F9xXJoF0+pXXdrwS5pBW05nAYL6pReR6jiZTB28VlC6LM8cSRl65NkkFw+d5fVAX ALKwu4rLJzqfUb7ecCpLqz7iqXtxJwDAZK3Km050/meupkRgEBgsGyIon8uC6ncO yMPI1KAyEYh2arnymcDvtGlbthY/bRE+UoSU2D/fDWNEaO54gyHPekxOiMLfFtep uLyWAUb8= 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 COUaaPeesic5 for ; Wed, 12 Aug 2020 12:05:56 +0200 (CEST) Received: from int-mx003.mykolab.com (unknown [10.9.13.3]) by ext-mx-out002.mykolab.com (Postfix) with ESMTPS id 75C55520 for ; Wed, 12 Aug 2020 12:05:56 +0200 (CEST) Received: from ext-subm003.mykolab.com (unknown [10.9.6.3]) by int-mx003.mykolab.com (Postfix) with ESMTPS id 24E822D85 for ; Wed, 12 Aug 2020 12:05:56 +0200 (CEST) To: internals@lists.php.net References: Message-ID: Date: Wed, 12 Aug 2020 12:05:54 +0200 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] [VOTE] Shorter Attribute Syntax Change From: alec@alec.pl (Aleksander Machniak) On 11.08.2020 16:54, Sara Golemon wrote: >> https://wiki.php.net/rfc/shorter_attribute_syntax_change#voting > Just chiming in to say all, y'all voting for @[...] are making a terrible > choice, and are you sure you're okay with it? It looks like the community is split, and it might actually be a mistake to implement the feature with any of the options on the table. Maybe we should look for different approaches? Here's one. To not have to use a new keyword I choose to try how "declare" would fit: declare( SomeAttr, AntoherAttr("Hello world") ) class someClass { } -- Aleksander Machniak Kolab Groupware Developer [https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] ---------------------------------------------------- PGP: 19359DC1 # Blog: https://kolabian.wordpress.com