mirror of
https://github.com/php/php-src.git
synced 2024-10-05 00:36:17 +00:00
6d8760677d
- altered EXPECT for parser errors. This may or may not be a Good Thing.
15 lines
227 B
PHP
15 lines
227 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
|