mirror of
https://github.com/php/php-src.git
synced 2024-09-29 22:06:09 +00:00
18 lines
363 B
Plaintext
18 lines
363 B
Plaintext
|
--TEST--
|
||
|
Bug #55719 (Argument restriction should come with a more specific error message)
|
||
|
--FILE--
|
||
|
<?php
|
||
|
class Foo {
|
||
|
}
|
||
|
|
||
|
Abstract Class Base {
|
||
|
abstract public function test(Foo $foo, array $bar, $option = NULL, $extra = 16777215) ;
|
||
|
}
|
||
|
|
||
|
class Sub extends Base {
|
||
|
public function test(Foo $foo, array $bar, $option = NULL, $extra = 0xffffff ) {
|
||
|
}
|
||
|
}
|
||
|
?>
|
||
|
--EXPECTF--
|