File size: 352 Bytes
1e94262 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | --TEST--
ReflectionMethod::__toString() tests (overridden method)
--FILE--
<?php
class Foo {
function func() {
}
}
class Bar extends Foo {
function func() {
}
}
$m = ReflectionMethod::createFromMethodName("Bar::func");
echo $m;
?>
--EXPECTF--
Method [ <user, overwrites Foo, prototype Foo> public method func ] {
@@ %s010.php 7 - 8
}
|