diff options
Diffstat (limited to 'tests/lang/bug25652.phpt')
-rwxr-xr-x | tests/lang/bug25652.phpt | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/lang/bug25652.phpt b/tests/lang/bug25652.phpt deleted file mode 100755 index 09cfc18197..0000000000 --- a/tests/lang/bug25652.phpt +++ /dev/null @@ -1,22 +0,0 @@ ---TEST-- -Bug #25652 (Calling Global functions dynamically fails from Class scope) ---FILE-- -<?php - - 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 |