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