mirror of
https://github.com/php/php-src.git
synced 2026-04-24 00:18:23 +02:00
053ef28b8d
RFC: https://wiki.php.net/rfc/attribute_amendments Support for attribute grouping is left out, because the short attribute syntax RFC will likely make it obsolete. Closes GH-5751.
13 lines
186 B
PHP
13 lines
186 B
PHP
--TEST--
|
|
Internal attribute targets are validated.
|
|
--FILE--
|
|
<?php
|
|
|
|
<<Attribute>>
|
|
<<Attribute>>
|
|
class A1 { }
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Attribute "Attribute" must not be repeated in %s
|