php-src/Zend/tests/errmsg_002.phpt
Steph Fox 6d8760677d - killed off UEXPECT
- altered EXPECT for parser errors. This may or may not be a Good Thing.
2008-05-26 14:33:44 +00:00

15 lines
249 B
PHP

--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