1--TEST-- 2Bug #61970 (Restraining __construct() access level in subclass gives a fatal error - stays when implementing abstract) 3--FILE-- 4<?php 5 6abstract class Foo { 7 abstract public function __construct(); 8} 9 10class Bar extends Foo { 11 protected function __construct(){} 12} 13--EXPECTF-- 14Fatal error: Access level to Bar::__construct() must be public (as in class Foo) in %s 15