Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
このコードが機能するのはなぜですか?
<?hh // strict function test(Vector<int> $v):void { print_r($v); } test(Vector {1, array("I'm an array"), 3});
エラーをスローするべきではありませんか?は何のためにある<int>はずですか?
<int>