xref: /PHP-7.1/Zend/tests/bug43323.phpt (revision 6ef92162)
1--TEST--
2Bug #43323 (Wrong count abstract methods)
3--FILE--
4<?php
5abstract class bar {
6    abstract public function bar();
7}
8
9class foo extends bar {
10}
11--EXPECTF--
12Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bar has a deprecated constructor in %s on line %d
13
14Fatal 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
15