3 * Copyright (c) 2014, Facebook, Inc.
6 * This source code is licensed under the MIT license found in the
7 * LICENSE file in the "hack" directory of this source tree.
12 function foo3(varray
<string> $arr) {
13 foreach ($arr as $v) {
23 function foo4(varray
<string> $arr) {
24 foreach ($arr as $k => $v) {
30 function foo5(darray
<int, string> $arr) {
31 foreach ($arr as $v) {
39 function foo6(darray
<int, string> $arr) {
40 foreach ($arr as $k => $v) {
46 function f1(int $k) {}
48 function f2(string $v) {}