<?php function bar(string $foo): string { return $foo; } $result = bar('Hello'); var_dump($result); // Output: Hello
You have javascript disabled. You will not be able to edit any code.