@lo_fye The syntax currently used in PHP was borrowed from Rust, but it was not the original syntax adopted. We went through multiple RFCs and votes before arriving at the current syntax. It was not an easy decision. These are the four RFCs (all accepted) that led to the current syntax. As you can see, it was very contentious.
- https://wiki.php.net/rfc/attributes_v2
- https://wiki.php.net/rfc/attribute_amendments
- https://wiki.php.net/rfc/shorter_attribute_syntax
- https://wiki.php.net/rfc/shorter_attribute_syntax_change