diff options
Diffstat (limited to 'ext/standard/tests/array/bug31213.phpt')
-rw-r--r-- | ext/standard/tests/array/bug31213.phpt | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/ext/standard/tests/array/bug31213.phpt b/ext/standard/tests/array/bug31213.phpt index 6aa31d5e0e..829c657d1e 100644 --- a/ext/standard/tests/array/bug31213.phpt +++ b/ext/standard/tests/array/bug31213.phpt @@ -3,27 +3,27 @@ Bug #31213 (Sideeffects caused by bug #29493) --FILE-- <?php function test($use_extract) { - $a = 1; - $b = 1; + $a = 1; + $b = 1; - $arr = array( - '_a' => $a, - '_b' => &$b - ); + $arr = array( + '_a' => $a, + '_b' => &$b + ); - var_dump($a, $b); + var_dump($a, $b); - if ($use_extract) { - extract($arr, EXTR_REFS); - } else { - $_a = &$arr['_a']; - $_b = &$arr['_b']; - } + if ($use_extract) { + extract($arr, EXTR_REFS); + } else { + $_a = &$arr['_a']; + $_b = &$arr['_b']; + } - $_a++; - $_b++; + $_a++; + $_b++; - var_dump($a, $b, $_a, $_b, $arr); + var_dump($a, $b, $_a, $_b, $arr); } test(false); |