mirror of
https://github.com/php/php-src.git
synced 2024-12-14 04:16:30 +08:00
15 lines
236 B
Plaintext
15 lines
236 B
Plaintext
|
--TEST--
|
||
|
using multiple access modifiers (abstract methods)
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
class test {
|
||
|
abstract abstract function foo() {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
echo "Done\n";
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Fatal error: Multiple abstract modifiers are not allowed in %s on line %d
|