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