mirror of
https://github.com/php/php-src.git
synced 2024-12-14 20:33:36 +08:00
15 lines
259 B
Plaintext
15 lines
259 B
Plaintext
|
--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
|