Annotation of embedaddon/php/Zend/tests/argument_restriction_005.phpt, revision 1.1.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 Sub implements ArrayAccess {
6: public function offsetSet() {
7: }
8: }
9: ?>
10: --EXPECTF--
11: Fatal error: Declaration of Sub::offsetSet() must be compatible with ArrayAccess::offsetSet($offset, $value) in %sargument_restriction_005.php on line %d
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>