xref: /PHP-5.4/Zend/tests/errmsg_002.phpt (revision 0f0fe9c9)
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