1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00
Files
2023-07-18 12:59:21 +02:00

20 lines
352 B
PHP

--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
}