File size: 235 Bytes
1e94262
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
--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