diff options
Diffstat (limited to 'Zend/tests/bug72508.phpt')
-rw-r--r-- | Zend/tests/bug72508.phpt | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Zend/tests/bug72508.phpt b/Zend/tests/bug72508.phpt index b39aa16d02..86ad749a40 100644 --- a/Zend/tests/bug72508.phpt +++ b/Zend/tests/bug72508.phpt @@ -3,20 +3,20 @@ Bug #72508 (strange references after recursive function call and "switch" statem --FILE-- <?php function a ($option) { - b($option['bla']); - c($option); - var_dump($option); + b($option['bla']); + c($option); + var_dump($option); } function b (&$string) { - $string = 'changed'; + $string = 'changed'; } function c ($option) { - switch ($option['bla']) { - default: - $copy = $option; - $copy['bla'] = 'copy'; - break; - } + switch ($option['bla']) { + default: + $copy = $option; + $copy['bla'] = 'copy'; + break; + } } a(array('bla' => 'fasel')); |