This repository has been archived on 2026-07-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
espocrm-base/vendor/phpunit/php-token-stream/Tests/_files/closure.php
T
Taras Machyshyn 6ee90ed26e vendor update
2013-11-19 12:51:37 +02:00

8 lines
259 B
PHP

<?php
$function1 = function($foo, $bar) use ($var) {};
$function2 = function(Foo $foo, $bar) use ($var) {};
$function3 = function ($foo, $bar, $baz) {};
$function4 = function (Foo $foo, $bar, $baz) {};
$function5 = function () {};
$function6 = function() {};