Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111609 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 33941 invoked from network); 18 Aug 2020 13:31:44 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 18 Aug 2020 13:31:44 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 8FA38180531 for ; Tue, 18 Aug 2020 05:32:53 -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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-ot1-f47.google.com (mail-ot1-f47.google.com [209.85.210.47]) (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 ; Tue, 18 Aug 2020 05:32:52 -0700 (PDT) Received: by mail-ot1-f47.google.com with SMTP id a65so16073549otc.8 for ; Tue, 18 Aug 2020 05:32:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8XXPN/TB4W/QK9XWN5uCi8r20EEWqPEdR4oMpFW9kdA=; b=gKfCVZKa9uvZrfoLNwMtPfXxkslZqAFKhZw3uEdZAUKndbh4Yr0dBcNEmULtCzR/da /oPHytCdcaahJ62EW5N00IvGwE2AasPh2f0jgOfYutFOQiUYF8iqXTlvtQN9biG5/eem bis9A2UazCyzYt04GJH7guc1ocysT7pWMu18vSiKQHkICqrvP4KW5lIxUBJnJP6hPEPH PlVOUP3cSnaM7InwLG5V63Xv8qP9lsSsSf+aR/ZCU9EcbtYtfiFPkewl+7SRQs5UFRgW +2GHLfbOiH+mS+LskWebU4+Lg+BKe6V7ApHQfhtMUy3pErMTrrHgl8rAeSHWn77C4/9y eKcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8XXPN/TB4W/QK9XWN5uCi8r20EEWqPEdR4oMpFW9kdA=; b=gQD+Xy8+UC6hqCiNTcJxyAXADP6qKUDI19H2YJs9GZdqWBqHtjv2UKaQQp3H3qMw9I 24cHfKGj59vD5klx5EEifv+eMum43zlcS5bQOH1P7ZbdUafuc6exV65ZvGjPpdS5WPvr siTGzY6RC/WHYv6Z87tmroAtgVZcHSreMluMS8Lv3kDYLQI/v/SVU4oqPCefQQjWiL9P f5smVKLeJpd/5NlB67QsBtFxlB159cTCCc4W/oj2gT3HRqqwIkD+tiIvgXF6F07HIycb G1/gTC6Z+ihvOSSr79E+WC44ggZFNWnBARrq3VbL0ttisoQfF2XXigIyT4UutzVEJCaI h36w== X-Gm-Message-State: AOAM533khYc7olv5ckiXJg95rgCKTf4578YnX0UQInfzLZSvqJvdjr3O St+FmTJi0D5Qhy/06ptBsJwb8l1I1ejUaSEPKIBV4bWp X-Google-Smtp-Source: ABdhPJyBDH/DeOp+ip8wyij8UFzM1GnAA4jivh0AFC/vRyLkF4CKppvePQ4hO1NXk0h7ZUpB3dpR/4Gn0dMM+dQwBWw= X-Received: by 2002:a9d:66c5:: with SMTP id t5mr15601250otm.209.1597753970629; Tue, 18 Aug 2020 05:32:50 -0700 (PDT) MIME-Version: 1.0 References: <7d6c42a4-53cd-5e38-4ffc-02fe490d66a3@gmx.net> <9A07334F-1A55-4E7D-88B5-7E6BABFB5E81@newclarity.net> In-Reply-To: Date: Tue, 18 Aug 2020 09:32:39 -0300 Message-ID: To: Aleksander Machniak Cc: PHP Internals Content-Type: multipart/alternative; boundary="000000000000dba16f05ad261504" Subject: Re: [PHP-DEV] [VOTE] Shorter Attribute Syntax Change From: david.proweb@gmail.com (David Rodrigues) --000000000000dba16f05ad261504 Content-Type: text/plain; charset="UTF-8" I really found your idea better than all. Keywork is already reserved, make sense on this context. Em ter, 18 de ago de 2020 03:49, Aleksander Machniak escreveu: > 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 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: https://www.php.net/unsub.php > > --000000000000dba16f05ad261504--