From 85910d510b48f2338a2134eac28cba9b001fe3c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Schl=C3=BCter?= Date: Thu, 12 Apr 2007 18:31:57 +0000 Subject: [PATCH] - Add test --- ext/reflection/tests/bug41061.phpt | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 ext/reflection/tests/bug41061.phpt diff --git a/ext/reflection/tests/bug41061.phpt b/ext/reflection/tests/bug41061.phpt new file mode 100755 index 00000000000..977828ef65d --- /dev/null +++ b/ext/reflection/tests/bug41061.phpt @@ -0,0 +1,30 @@ +--TEST-- +Reflection Bug #41061 ("visibility error" in ReflectionFunction::export()) +--SKIPIF-- + +--FILE-- + +===DONE=== + +--EXPECTF-- +Function [ function foo ] { + @@ %sbug41061.php 3 - 4 +} + +Method [ private method foo ] { + @@ %sbug41061.php 7 - 8 +} + +===DONE===