cvs: php-src(PHP_5_0) /tests/reflection bug30209.phpt

From: Date: Thu, 23 Sep 2004 18:42:49 +0000
Subject: cvs: php-src(PHP_5_0) /tests/reflection bug30209.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-28743@lists.php.net to get a copy of this message
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===

« previous php.cvs (#28743) next »