1--TEST-- 2Ensure implicit final inherited old-style constructor cannot be overridden. 3--FILE-- 4<?php 5 class A { 6 final function A() { } 7 } 8 class B extends A { 9 function A() { } 10 } 11?> 12--EXPECTF-- 13Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; A has a deprecated constructor in %s on line %d 14 15Fatal error: Cannot override final method A::A() in %s on line %d 16