1--TEST-- 2bug #71428.1: inheritance with null default values 3--FILE-- 4<?php 5class A { 6 public function m(array $a = null) {} 7} 8class B extends A { 9 public function m(array $a = []) {} 10} 11--EXPECTF-- 12Warning: Declaration of B::m(array $a = Array) should be compatible with A::m(?array $a = NULL) in %sbug71428.1.php on line 7 13