argument_restriction_004.phpt 370 B

1234567891011121314151617
  1. --TEST--
  2. Bug #55719 (Argument restriction should come with a more specific error message)
  3. --FILE--
  4. <?php
  5. class Foo {
  6. }
  7. Abstract Class Base {
  8. abstract public function test(Foo $foo, array $bar, $option = NULL, $extra = 16777215) ;
  9. }
  10. class Sub extends Base {
  11. public function test(Foo $foo, array $bar, $option = NULL, $extra = 0xffffff ) {
  12. }
  13. }
  14. ?>
  15. --EXPECT--