[snip]
 Not sure why, but ok. Thanks everyone!
An empty line would lead to $csvCurrentLine == array() which as a boolean would 
be false but would not necessarily mean EOF. By using === to check the value 
the expression will only evaluate to false at EOF or an error.

-Stuart
[/snip]

Makes perfect sense! I just wasn't reading it right.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to