Lines Matching refs:i
119 foreach ($header as $i => $head) {
124 unset($header[$i]);
129 $this->columns[$i] = $col;
183 foreach ($this->columns as $i => $column) {
184 if (!isset($line[$i])) throw new StructException('Missing field at CSV line %d', $this->line);
186 if (!$this->validateValue($column, $line[$i])) return false;
190 if ($line[$i][0] === '[') {
191 $line[$i] = preg_split('/,(?=\[)/', $line[$i]);
193 $line[$i] = array_map('trim', explode(',', $line[$i]));
197 $values[] = $line[$i];