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?> 14--EXPECTF-- 15Fatal error: Access level to Bar::__construct() must be public (as in class Foo) in %s on line 8 16