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_014.phpt | |
parent | d2cb200e10ada6fa44c54a29292bb4665728fff0 (diff) | |
download | php-git-f8d795820e780a6322e054c26c581570613c14f0.tar.gz |
Reindent phpt files
Diffstat (limited to 'Zend/tests/closure_014.phpt')
-rw-r--r-- | Zend/tests/closure_014.phpt | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Zend/tests/closure_014.phpt b/Zend/tests/closure_014.phpt index 9e4819b9dd..fbd1109dc8 100644 --- a/Zend/tests/closure_014.phpt +++ b/Zend/tests/closure_014.phpt @@ -3,18 +3,18 @@ Closure 014: return by value/reference --FILE-- <?php class C1 { - function __invoke() { - return 0; - } + function __invoke() { + return 0; + } } class C2 { - function &__invoke(&$a) { - return $a; - } + function &__invoke(&$a) { + return $a; + } } class C3 { - function __invoke() { - } + function __invoke() { + } } $x = new C1(); @@ -23,7 +23,7 @@ var_dump($x->__invoke()); $x(); $x->__invoke(); $x = function() { - return 0; + return 0; }; var_dump($x()); var_dump($x->__invoke()); @@ -41,7 +41,7 @@ var_dump($b); $x($b); $x->__invoke($b); $x = function & (&$a) { - return $a; + return $a; }; $e =& $x($c); $e = 4; |