abstract-static.phpt 285 B

1234567891011121314
  1. --TEST--
  2. Test for abstract static classes
  3. --FILE--
  4. <?php
  5. abstract class TestClass
  6. {
  7. abstract static public function getName();
  8. }
  9. ?>
  10. ===DONE===
  11. --EXPECTF--
  12. Strict Standards: Static function TestClass::getName() should not be abstract in %sabstract-static.php on line %d
  13. ===DONE===