--TEST-- Reflection Bug #41061 ("visibility error" in ReflectionFunction::__toString()) --FILE-- ===DONE=== --EXPECTF-- Function [ function foo ] { @@ %sbug41061.php 3 - 4 } Method [ private method foo ] { @@ %sbug41061.php 7 - 8 } ===DONE===