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