errmsg_037.phpt 201 B

12345678910111213
  1. --TEST--
  2. errmsg: properties cannot be abstract
  3. --FILE--
  4. <?php
  5. class test {
  6. abstract $var = 1;
  7. }
  8. echo "Done\n";
  9. ?>
  10. --EXPECTF--
  11. Fatal error: Properties cannot be declared abstract in %s on line %d