summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/010.phpt
blob: ae667b65ab911ecbcad85398e8f12751864e9b2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
ReflectionMethod::__toString() tests (overridden method)
--FILE--
<?php
class Foo {
	function func() {
	}
}
class Bar extends Foo {
	function func() {
	}
}
$m = new ReflectionMethod("Bar::func");
echo $m;
?>
--EXPECTF--
Method [ <user, overwrites Foo, prototype Foo> public method func ] {
  @@ %s010.php 7 - 8
}