From: foobar Date: Sat, 29 Nov 2003 07:15:31 +0000 (+0000) Subject: test for bug #25652 X-Git-Tag: php-5.0.0b3RC1~545 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ff5a9fbb3cc52604c51a32feed480020a2e825b;p=php test for bug #25652 --- 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