php-src/Zend/tests/errmsg_037.phpt
2007-02-07 11:10:32 +00:00

14 lines
199 B
PHP

--TEST--
errmsg: properties cannot be abstract
--FILE--
<?php
class test {
abstract $var = 1;
}
echo "Done\n";
?>
--EXPECTF--
Fatal error: Properties cannot be declared abstract in %s on line %d