mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +08:00
14 lines
218 B
PHP
14 lines
218 B
PHP
--TEST--
|
|
using multiple access modifiers (classes)
|
|
--FILE--
|
|
<?php
|
|
|
|
final final class test {
|
|
function foo() {}
|
|
}
|
|
|
|
echo "Done\n";
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Multiple final modifiers are not allowed in %s on line %d
|