summaryrefslogtreecommitdiff
path: root/tests/lang/bug24396.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/bug24396.phpt')
-rw-r--r--tests/lang/bug24396.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lang/bug24396.phpt b/tests/lang/bug24396.phpt
index 80862191de..bb5c83860a 100644
--- a/tests/lang/bug24396.phpt
+++ b/tests/lang/bug24396.phpt
@@ -7,10 +7,10 @@ $arr = array('a' => 1, 'b' => 2, 'c' => 3);
foreach($arr as $k=>$v) {
global $$k; // comment this out and it works in PHP 7 too..
-
+
echo "($k => $v)\n";
-
- $$k = $v;
+
+ $$k = $v;
}
?>
--EXPECT--