foreach ($c as $v) {} foreach (varray[] as $k => $v[0]) {} foreach (darray[] as list($a[vec[] as int[0]], $b)) {} // HHVM can't parse an as-expression in the collection position, but // tree-sitter-hack can 💪. Commenting out because bin/test-corpus runs tests for both. // foreach (darray[] as dict as $v) {}