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/closure_003.phpt | |
parent | d2cb200e10ada6fa44c54a29292bb4665728fff0 (diff) | |
download | php-git-f8d795820e780a6322e054c26c581570613c14f0.tar.gz |
Reindent phpt files
Diffstat (limited to 'Zend/tests/closure_003.phpt')
-rw-r--r-- | Zend/tests/closure_003.phpt | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Zend/tests/closure_003.phpt b/Zend/tests/closure_003.phpt index 6f5cc70bf1..64a956ed4f 100644 --- a/Zend/tests/closure_003.phpt +++ b/Zend/tests/closure_003.phpt @@ -4,21 +4,21 @@ Closure 003: Lambda with lexical variables (local scope) <?php function run () { - $x = 4; + $x = 4; - $lambda1 = function () use ($x) { - echo "$x\n"; - }; + $lambda1 = function () use ($x) { + echo "$x\n"; + }; - $lambda2 = function () use (&$x) { - echo "$x\n"; - }; + $lambda2 = function () use (&$x) { + echo "$x\n"; + }; - $lambda1(); - $lambda2(); - $x++; - $lambda1(); - $lambda2(); + $lambda1(); + $lambda2(); + $x++; + $lambda1(); + $lambda2(); } run(); |