PHP Classes

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

Recommend this page to a friend!
  Packages of Abed Nego Ragil Putra   Laravel Blogging Platform   vendor/nikic/php-parser/test/code/prettyPrinter/expr/arrayDestructuring.test   Download  
File: vendor/nikic/php-parser/test/code/prettyPrinter/expr/arrayDestructuring.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: 246 bytes
 

Contents

Class file image Download
Array destructuring ----- <?php [$a, $b] = [$c, $d]; [, $a, , , $b, ,] = $foo; [, [[$a]], $b] = $bar; ['a' => $b, 'b' => $a] = $baz; ----- !!php7 [$a, $b] = [$c, $d]; [, $a, , , $b, ] = $foo; [, [[$a]], $b] = $bar; ['a' => $b, 'b' => $a] = $baz;