summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/010.phpt
blob: ae1e4dff0b5d9995f301cb986461063a0c1c1cb4 (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
}