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-- 19Warning: Declaration of Sub::test() should be compatible with Base::test(Foo $foo, array $bar, $option = NULL, $extra = 'llllllllll...') in %sargument_restriction_003.php on line %d 20