<?php function foo(string $num): int { $x = $num + 2; echo "More statements here...\n"; return $x; } function run(): void { var_dump(foo("1")); } run();
You have javascript disabled. You will not be able to edit any code.