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