Annotation of embedaddon/php/Zend/tests/argument_restriction_004.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Bug #55719 (Argument restriction should come with a more specific error message)
        !             3: --FILE--
        !             4: <?php
        !             5: class Foo {
        !             6: }
        !             7: 
        !             8: Abstract Class Base {
        !             9:        abstract public function test(Foo $foo, array $bar, $option = NULL, $extra = 16777215) ;
        !            10: }
        !            11: 
        !            12: class Sub extends Base {
        !            13:        public function test(Foo $foo, array $bar, $option = NULL, $extra = 0xffffff ) {
        !            14:        }       
        !            15: }
        !            16: ?>
        !            17: --EXPECTF--

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>