Annotation of embedaddon/php/ext/reflection/tests/010.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: ReflectionMethod::__toString() tests (overriden method)
3: --SKIPIF--
4: <?php extension_loaded('reflection') or die('skip'); ?>
5: --FILE--
6: <?php
7: class Foo {
8: function func() {
9: }
10: }
11: class Bar extends Foo {
12: function func() {
13: }
14: }
15: $m = new ReflectionMethod("Bar::func");
16: echo $m;
17: ?>
18: --EXPECTF--
19: Method [ <user, overwrites Foo, prototype Foo> public method func ] {
20: @@ %s010.php 7 - 8
21: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>