/hphp/hack/test/typecheck/array_map.php
PHP | 9 lines | 8 code | 1 blank | 0 comment | 0 complexity | a5050fb9cbd1c1d2b1a96e4e033d3590 MD5 | raw file
Possible License(s): MPL-2.0-no-copyleft-exception, BSD-3-Clause
- <?hh
- function test(
- (function(int, string): bool) $f,
- Container<int> $x,
- Container<string> $y,
- ): void {
- hh_show(array_map($f, $x, $y));
- }