From 5ff5a9fbb3cc52604c51a32feed480020a2e825b Mon Sep 17 00:00:00 2001 From: foobar Date: Sat, 29 Nov 2003 07:15:31 +0000 Subject: [PATCH] test for bug #25652 --- tests/lang/bug25652.php | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 tests/lang/bug25652.php diff --git a/tests/lang/bug25652.php b/tests/lang/bug25652.php new file mode 100755 index 0000000000..cf0cc1a265 --- /dev/null +++ b/tests/lang/bug25652.php @@ -0,0 +1,22 @@ +--TEST-- +Bug #25652 (Calling Global functions dynamically fails from Class scope) +--FILE-- +arr[0]('testvalue'); + } + } + + $a = new foo (); + $a->bar (); + +?> +--EXPECT-- +testfunc testvalue -- 2.50.1