Hallo,
Hallo,
foreach ($row as $cellValue) { $trimmedRow[] = trim($cellValue); } $this->\_table[] = $trimmedRow;
Schneller und kürzer:
$this->_table[] = array_map('trim', $row);
Fein das, das erfüllt ja auch Iteration vor Rekursion.
Gruß
jobo
Hallo,
Hallo,
foreach ($row as $cellValue) { $trimmedRow[] = trim($cellValue); } $this->\_table[] = $trimmedRow;
Schneller und kürzer:
$this->_table[] = array_map('trim', $row);
Fein das, das erfüllt ja auch Iteration vor Rekursion.
Gruß
jobo