1--TEST-- 2Allow abstract function override 3--FILE-- 4<?php 5 6abstract class A { abstract function bar($x, $y = 0); } 7abstract class B extends A { abstract function bar($x); } 8 9echo "DONE"; 10?> 11--EXPECTF-- 12Fatal error: Declaration of B::bar($x) must be compatible with A::bar($x, $y = 0) in %s 13