summaryrefslogtreecommitdiff
path: root/Zend/tests/argument_restriction_004.phpt
blob: 379ea9b3e95402f09737d11413a25455e9bfc11b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--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 ) {
	}	
}
?>
--EXPECT--