blob: d1c4cb893f6e5efc313e76cdcbf061eb9983dd75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--TEST--
errmsg: function cannot be declared private
--FILE--
<?php
abstract class test {
abstract private function foo() {
}
}
echo "Done\n";
?>
--EXPECTF--
Fatal error: Abstract function test::foo() cannot be declared private in %s on line %d
|