summaryrefslogtreecommitdiff
path: root/tests/lang/bug25652.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/bug25652.phpt')
-rw-r--r--tests/lang/bug25652.phpt22
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/lang/bug25652.phpt b/tests/lang/bug25652.phpt
index b0125de085..037caf3a80 100644
--- a/tests/lang/bug25652.phpt
+++ b/tests/lang/bug25652.phpt
@@ -3,19 +3,19 @@ Bug #25652 (Calling Global functions dynamically fails from Class scope)
--FILE--
<?php
- function testfunc ($var) {
- echo "testfunc $var\n";
- }
+ function testfunc ($var) {
+ echo "testfunc $var\n";
+ }
- class foo {
- public $arr = array('testfunc');
- function bar () {
- $this->arr[0]('testvalue');
- }
- }
+ class foo {
+ public $arr = array('testfunc');
+ function bar () {
+ $this->arr[0]('testvalue');
+ }
+ }
- $a = new foo ();
- $a->bar ();
+ $a = new foo ();
+ $a->bar ();
?>
--EXPECT--