/hphp/hack/test/typecheck/keyset/unset.php
PHP | 5 lines | 4 code | 1 blank | 0 comment | 0 complexity | 9664b87e955d56b8600fb7379b23c1e2 MD5 | raw file
Possible License(s): LGPL-2.1, BSD-2-Clause, BSD-3-Clause, MPL-2.0-no-copyleft-exception, MIT, LGPL-2.0, Apache-2.0
- <?hh // partial
- function foo(keyset<int> $k): void {
- unset($k[42]);
- }