php-src/Zend/tests/errmsg_023.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

18 lines
288 B
PHP

--TEST--
errmsg: access level must be the same or weaker
--FILE--
<?php
class test1 {
protected $var;
}
class test extends test1 {
private $var;
}
echo "Done\n";
?>
--EXPECTF--
Fatal error: Access level to test::$var must be protected (as in class test1) or weaker in %s on line %d