dis-bench / src /php /php-src /Zend /tests /attributes /constants /not_repeatable-internal.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
235 Bytes
--TEST--
Validation of attribute repetition (not allowed; internal attribute)
--FILE--
<?php
#[Deprecated]
#[Deprecated]
const MY_CONST = true;
?>
--EXPECTF--
Fatal error: Attribute "Deprecated" must not be repeated in %s on line %d