php-src/Zend/tests/argument_restriction_004.phpt

18 lines
370 B
Plaintext
Raw Normal View History

--TEST--
Bug #55719 (Argument restriction should come with a more specific error message)
--FILE--
<?php
class Foo {
}
Abstract Class Base {
2020-02-03 21:52:20 +00:00
abstract public function test(Foo $foo, array $bar, $option = NULL, $extra = 16777215) ;
}
class Sub extends Base {
2020-02-03 21:52:20 +00:00
public function test(Foo $foo, array $bar, $option = NULL, $extra = 0xffffff ) {
}
}
?>
--EXPECT--