1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 00:18:23 +02:00
Files
archived-php-src/Zend/tests/attributes/025_internal_repeatable_validation.phpt
T
Martin Schröder 053ef28b8d Implement Attribute Amendments.
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.
2020-06-29 10:45:51 +02:00

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