summaryrefslogtreecommitdiff
path: root/Zend/tests/argument_restriction_004.phpt
blob: 90736e8783e1c37a27d69237c721331a6340a3e3 (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--