mirror of
https://github.com/php/php-src.git
synced 2024-10-18 06:52:34 +00:00
15 lines
250 B
Plaintext
15 lines
250 B
Plaintext
|
--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
|