helly Wed Sep 29 04:48:18 2004 EDT
Added files:
/php-src/tests/reflection 003.phpt
Log:
Add new test
http://cvs.php.net/co.php/php-src/tests/reflection/003.phpt?r=1.1&p=1
Index: php-src/tests/reflection/003.phpt
+++ php-src/tests/reflection/003.phpt
--TEST--
invoke() with base class method
--FILE--
<?php
class Foo
{
function Test()
{
echo __METHOD__ . "\n";
}
}
class Bar extends Foo
{
function Test()
{
echo __METHOD__ . "\n";
}
}
$o = new Bar;
$r = new ReflectionMethod('Foo','Test');
$r->invoke($o);
?>
===DONE===
--EXPECT--
Foo::Test
===DONE===
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php