PHP Classes

File: vendor/nikic/php-parser/test/code/prettyPrinter/expr/closure.test

Recommend this page to a friend!
  Packages of Abed Nego Ragil Putra   Laravel Blogging Platform   vendor/nikic/php-parser/test/code/prettyPrinter/expr/closure.test   Download  
File: vendor/nikic/php-parser/test/code/prettyPrinter/expr/closure.test
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Laravel Blogging Platform
Manage blog posts using Laravel and Bootstrap
Author: By
Last change:
Date: 8 months ago
Size: 394 bytes
 

Contents

Class file image Download
Closures ----- <?php $closureWithArgs = function ($arg1, $arg2) { $comment = 'closure body'; }; $closureWithArgsAndVars = function ($arg1, $arg2) use($var1, $var2) { $comment = 'closure body'; }; ----- $closureWithArgs = function ($arg1, $arg2) { $comment = 'closure body'; }; $closureWithArgsAndVars = function ($arg1, $arg2) use($var1, $var2) { $comment = 'closure body'; };