mirror of
https://github.com/php/php-src.git
synced 2024-12-13 20:05:26 +08:00
14 lines
215 B
PHP
14 lines
215 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
|