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