1Closures
2-----
3<?php
4
5$closureWithArgs = function (
6    $arg1,
7    $arg2
8) {
9    $comment = 'closure body';
10};
11
12$closureWithArgsAndVars = function ($arg1, $arg2) use($var1, $var2) {
13    $comment = 'closure body';
14};
15-----
16$closureWithArgs = function ($arg1, $arg2) {
17    $comment = 'closure body';
18};
19$closureWithArgsAndVars = function ($arg1, $arg2) use ($var1, $var2) {
20    $comment = 'closure body';
21};