diff options
Diffstat (limited to 'Zend/tests/bug43323.phpt')
| -rw-r--r-- | Zend/tests/bug43323.phpt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Zend/tests/bug43323.phpt b/Zend/tests/bug43323.phpt new file mode 100644 index 0000000..d366a6d --- /dev/null +++ b/Zend/tests/bug43323.phpt @@ -0,0 +1,12 @@ +--TEST-- +Bug #43323 (Wrong count abstract methods) +--FILE-- +<?php +abstract class bar { + abstract public function bar(); +} + +class foo extends bar { +} +--EXPECTF-- +Fatal error: Class foo contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (bar::bar) in %sbug43323.php on line 7 |
