diff options
Diffstat (limited to 'Zend/tests/abstract-static.phpt')
-rw-r--r-- | Zend/tests/abstract-static.phpt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Zend/tests/abstract-static.phpt b/Zend/tests/abstract-static.phpt new file mode 100644 index 0000000..c4ab8f2 --- /dev/null +++ b/Zend/tests/abstract-static.phpt @@ -0,0 +1,14 @@ +--TEST-- +Test for abstract static classes +--FILE-- +<?php +abstract class TestClass +{ + abstract static public function getName(); +} +?> +===DONE=== +--EXPECTF-- + +Strict Standards: Static function TestClass::getName() should not be abstract in %sabstract-static.php on line %d +===DONE=== |