<reponame>gitmyrepos/pasta<filename>tests/test_code/php/anon2/anonymous_function2.php
<?php

function func_a($name) {
    echo "Hello " + $name;
}

$greet = (static function($name): void
{
    func_a($name);
});

$greet('World');

?>

