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