xref: /PHP-7.3/Zend/tests/errmsg_002.phpt (revision 782352c5)
1--TEST--
2errmsg: function cannot be declared private
3--FILE--
4<?php
5
6abstract class test {
7	abstract private function foo() {
8	}
9}
10
11echo "Done\n";
12?>
13--EXPECTF--
14Fatal error: Abstract function test::foo() cannot be declared private in %s on line %d
15