helly Thu Sep 23 14:42:49 2004 EDT
Added files: (Branch: PHP_5_0)
/php-src/tests/reflection bug30209.phpt
Log:
MFH
http://cvs.php.net/co.php/php-src/tests/reflection/bug30209.phpt?r=1.1&p=1
Index: php-src/tests/reflection/bug30209.phpt
+++ php-src/tests/reflection/bug30209.phpt
--TEST--
Bug #30209 ()
--FILE--
<?php
class Foo
{
private $name = 'testBAR';
public function testBAR()
{
try
{
$class = new ReflectionClass($this);
var_dump($this->name);
$method = $class->getMethod($this->name);
var_dump($this->name);
}
catch (Exception $e) {}
}
}
$foo = new Foo;
$foo->testBAR();
?>
===DONE===
--EXPECTF--
string(7) "testBAR"
string(7) "testBAR"
===DONE===
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php