diff options
Diffstat (limited to 'tests/lang/bug25652.phpt')
-rw-r--r-- | tests/lang/bug25652.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lang/bug25652.phpt b/tests/lang/bug25652.phpt index 09cfc18197..b0125de085 100644 --- a/tests/lang/bug25652.phpt +++ b/tests/lang/bug25652.phpt @@ -6,17 +6,17 @@ Bug #25652 (Calling Global functions dynamically fails from Class scope) function testfunc ($var) { echo "testfunc $var\n"; } - + class foo { public $arr = array('testfunc'); function bar () { $this->arr[0]('testvalue'); } } - + $a = new foo (); $a->bar (); - + ?> --EXPECT-- testfunc testvalue |