Sindbad~EG File Manager

Current Path : /var/www/html/edd.sumar.com.py/vendor/nikic/php-parser/test/code/formatPreservation/
Upload File :
Current File : /var/www/html/edd.sumar.com.py/vendor/nikic/php-parser/test/code/formatPreservation/namedArgs.test

Named arguments
-----
<?php
foo(
    a: $b,
);
-----
$stmts[0]->expr->args[0]->name = null;
-----
<?php
foo(
    $b,
);
-----
<?php
foo(
    $b,
);
-----
$stmts[0]->expr->args[0]->name = new Node\Identifier('a');
-----
<?php
foo(
    a: $b,
);
-----
<?php
foo(
    a:
    $b,
);
-----
$stmts[0]->expr->args[0]->name = new Node\Identifier('XYZ');
-----
<?php
foo(
    XYZ:
    $b,
);

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists