Hacker News new | ask | show | jobs
by craigharley 2651 days ago
And php does it both ways with its type hinting...

    function foo(string bar): string {
        return “y u do this”;
    }