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