Fri Nov 27 10:00:01 EST 2009 974 12506 Fri Nov 27 11:00:01 EST 2009 988 12655 Fri Nov 27 12:00:01 EST 2009 1005 12886 Fri Nov 27 1
This'll split at all whitespace collections, regardless of size.
$lines = file($myfile); foreach ($lines as $line) { $line = preg_split('/\s+/', $line); # do stuff with line }