1--TEST--
2Check type hint compatibility in overrides with array hints.
3--FILE--
4<?php
5Class C { function f(SomeClass $a) {} }
6
7echo "Array hint, should be class.\n";
8Class D extends C { function f(array $a) {} }
9?>
10==DONE==
11--EXPECTF--
12Warning: Declaration of D::f(array $a) should be compatible with C::f(SomeClass $a) in %s on line 5
13Array hint, should be class.
14==DONE==
15