<?php function dumpResult(callable $fn, ...$args): void { var_dump($fn(...$args)); } dumpResult(fn($foo) => "Input: $foo", "Test");
You have javascript disabled. You will not be able to edit any code.