bug43323.phpt   [plain text]


--TEST--
Bug #43323 (Wrong count abstract methods)
--FILE--
<?php
abstract class bar {
    abstract public function bar();
}

class foo extends bar {
}
--EXPECTF--
Deprecated: 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

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