1--TEST--
2Bug #55719 (Argument restriction should come with a more specific error message)
3--FILE--
4<?php
5class Foo {
6}
7
8Abstract Class Base {
9    public function test(Foo $foo, array $bar, $option = NULL, $extra = "lllllllllllllllllllllllllllllllllllllllllllllllllll") {
10    }
11}
12
13class Sub extends Base {
14    public function test() {
15    }
16}
17?>
18--EXPECTF--
19Fatal error: Declaration of Sub::test() must be compatible with Base::test(Foo $foo, array $bar, $option = null, $extra = 'llllllllll...') in %s on line %d
20