mirror of
https://github.com/php/php-src.git
synced 2024-12-11 19:04:38 +08:00
714aad97e7
add tests
14 lines
248 B
PHP
14 lines
248 B
PHP
--TEST--
|
|
using multiple access modifiers (attributes)
|
|
--FILE--
|
|
<?php
|
|
|
|
class test {
|
|
static public public static final public final $var;
|
|
}
|
|
|
|
echo "Done\n";
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Multiple access type modifiers are not allowed in %s on line %d
|