mirror of
https://github.com/php/php-src.git
synced 2024-12-14 12:26:19 +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
|