diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-02-03 22:52:20 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-02-03 22:52:20 +0100 |
commit | f8d795820e780a6322e054c26c581570613c14f0 (patch) | |
tree | 99d3ae01ce564752807341c5743863b4c92513f8 /Zend/tests/foreach_012.phpt | |
parent | d2cb200e10ada6fa44c54a29292bb4665728fff0 (diff) | |
download | php-git-f8d795820e780a6322e054c26c581570613c14f0.tar.gz |
Reindent phpt files
Diffstat (limited to 'Zend/tests/foreach_012.phpt')
-rw-r--r-- | Zend/tests/foreach_012.phpt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Zend/tests/foreach_012.phpt b/Zend/tests/foreach_012.phpt index 517e0ac943..59a5aff0a8 100644 --- a/Zend/tests/foreach_012.phpt +++ b/Zend/tests/foreach_012.phpt @@ -4,10 +4,10 @@ array_walk() function precerve foreach by reference iterator pointer <?php $a = [1,2,3,4,5]; foreach($a as &$v) { - echo "$v\n"; - if ($v == 3) { - array_walk($a, function (&$x) {$x+=10;}); - } + echo "$v\n"; + if ($v == 3) { + array_walk($a, function (&$x) {$x+=10;}); + } } ?> --EXPECT-- |