[RFC] [Discussion] Shorter Attribute Syntax Change

From: Date: Tue, 28 Jul 2020 14:46:38 +0000
Subject: [RFC] [Discussion] Shorter Attribute Syntax Change
Groups: php.internals 
Request: Send a blank email to internals+get-111218@lists.php.net to get a copy of this message
Hello Internals, I've been working with Derick Rethans and others (thanks all!) on a Shorter Attribute Syntax Change RFC which outlines reasons why the "#[]" syntax would be preferred over the currently agreed upon "@@" syntax for Shorter Attribute Syntax. An important part of the research that went into this proposal demonstrates how "@@" will make handling attributes more difficult for PHP_CodeSniffer (and similar tools) and shows how the alternative "#[]" syntax is more friendly for these tools. You can find the RFC https://wiki.php.net/rfc/shorter_attribute_syntax_change and I'm happy to answer any questions as best I can. -- - Joe Ferguson JoeFerguson.me osmihelp.org

« previous php.internals (#111218) next »