1--TEST--
2Check type hint compatibility in overrides with array hints.
3--FILE--
4<?php
5Class C { function f(SomeClass $a) {} }
6
7// Array hint, should be class.
8Class D extends C { function f(array $a) {} }
9?>
10--EXPECTF--
11Fatal error: Declaration of D::f(array $a) must be compatible with C::f(SomeClass $a) in %s on line 5
12