--TEST-- Reflection Bug #30209 (ReflectionClass::getMethod() lowercases attribute) --FILE-- 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===