Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111450 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 12107 invoked from network); 11 Aug 2020 11:11:08 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 11 Aug 2020 11:11:08 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id ADE0C180511 for ; Tue, 11 Aug 2020 03:10:29 -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-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) (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, 11 Aug 2020 03:10:29 -0700 (PDT) Received: by mail-pj1-f54.google.com with SMTP id c10so1310359pjn.1 for ; Tue, 11 Aug 2020 03:10:29 -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=CzexzoBp2nEJZwiJu1iCLVOYIU33abvYu5timikVzUg=; b=cjjZR/MoTXH3TrA9pxEiT28vp46Kzn64GFSEDx+4yYqw2+3HCPpXVVjFtNBSLSYowa MFZdxVWXqHp7GF9wptRLQXhB7QR90xl7IFr4VetnjWwBXY6gjccmKnlo9XV/ZY0JCgHU hKingHl78iH1ZXh8DAcukdn8W4AZTLwSAsWDiAY4a/bGcD080izz1sUTY7cUjfSGoOD5 1vM0jY/Idv8IkiVYlwDZb0oCavGcOmupQ8gNa1CDNsqpIwswSif0QN6tOb4+YeG1VK2o xGusCNu0ptMW9qdVm1V6Mh0CXYYWGTStteIrcMhSSqnkBxwgeMCtMo8hpv5cE4E0dYqL oueg== 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=CzexzoBp2nEJZwiJu1iCLVOYIU33abvYu5timikVzUg=; b=GS6bETdn+rE2OT71A7n6+4asVyhI3AcEmIRU1KaUWo356zGMFmnZLdyhHpyb55LiL4 U7Ulyz4LCWyvkOkVvk2e1kN+A/f4LJ3VF6Jlm1Vo/SCpjT4IXOZcsR6RClVd2GhDDS0i kJcimsalBD7smyNSeUDKAYxgDfOxNDe2+gwAn+HAfzhkz33UtaG5IxYNmiI9dGxi4xrh sT7dcjVDJQOmiS8D3BMwZmgB2TWbiPsyAydgXc1euHkBKNJUCLMOmFrCOWIjOy3pciyZ 0n/RFTQOL7A0mbwvS3ut16A8l6qEquS+BxQVZSS2aDPMqdlzl7XOIQ90mFZDSApZrNRC yriQ== X-Gm-Message-State: AOAM532xp4f16OfgaizjRQg4pK9WbtOY9VxvCtK0HCKr6QisfhKToxI4 xyjETmbCqRmPe7S/U+hB69Yi2NPZdjUwjZF0Koo= X-Google-Smtp-Source: ABdhPJy4ewPIzTJ7r+jBzSF6Oe4bqyB4OaaY7i0I+A+0vIHiTFNcGUWaBl1Z8asNpyH0OzwdGBgPCGG7mfL1vlacFlg= X-Received: by 2002:a17:902:eac3:: with SMTP id p3mr234796pld.292.1597140624299; Tue, 11 Aug 2020 03:10:24 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 11 Aug 2020 11:10:13 +0100 Message-ID: To: Derick Rethans Cc: PHP Developers Mailing List Content-Type: multipart/alternative; boundary="0000000000009159ba05ac974726" Subject: Re: [PHP-DEV] [VOTE] Shorter Attribute Syntax Change From: t.carnage@gmail.com (Chris Riley) --0000000000009159ba05ac974726 Content-Type: text/plain; charset="UTF-8" Hi, Quick question. What is the expected behaviour of: @[Bar()]; class Foo {} That would appear to be valid code and for the difference of a single ; does wildly different things, assuming there is a function Bar defined somewhere. (and only by the fact that @ doesn't suppress fatal errors does it not cause utter confusion if Bar isn't defined) Regards, Chris On Mon, 10 Aug 2020 at 09:41, Derick Rethans wrote: > Hi, > > I've just opened the vote to make sure we don't make a terrible mistake > with using the @@ syntax for attributes: > > https://wiki.php.net/rfc/shorter_attribute_syntax_change#voting > > The first vote is a vote to say that you have an opinion about attribute > syntax. Make sure to read up on the discussion on the mailinglist if you > haven't done so yet. > > The second vote is an STV vote. > > In STV you SHOULD rank *all* choices, but don't pick the same one more > than once, as that will invalidate your vote. > > Please have a objective look at the table > (https://wiki.php.net/rfc/shorter_attribute_syntax_change#proposal) and > don't just go by asthetics. > > The vote ends August 23, 24:00 UTC. > > cheers, > Derick > > -- > PHP 7.4 Release Manager > Host of PHP Internals News: https://phpinternals.news > Like Xdebug? Consider supporting me: https://xdebug.org/support > https://derickrethans.nl | https://xdebug.org | https://dram.io > twitter: @derickr and @xdebug > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: https://www.php.net/unsub.php > > --0000000000009159ba05ac974726--