What docblock definition on this function will satisfy PHPLint?
Ok, did not noticed that, then:

@param int[int][string] $items

foreach($items as $k => $e){...}

here $k is int, $e is int[string].

In the general case, if

@param T[I1][I2][I3] $items

then

foreach($items as $k => $e){...}

yields $k of type I1 and $e of type T[I2][I3].