summaryrefslogtreecommitdiff
path: root/Zend/tests/argument_restriction_004.phpt
blob: 599b3e1604fc9af1d776c757e2cbfeb368a63c3a (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 ) {
	}	
}
?>
--EXPECTF--