`while ( ( $data = fgetcsv( $fileHandle, 0, ';' ) ) !== false )` avoids the duplicate line. Looks a bit weird but is very common in PHP.

Also:
* Please use `||` instead of `or`.
* `array()` should be lowercase.
* Try to avoid calling `count()` in loops if you can. Not so important here since it is obviously not the bottleneck in this code. Just a hint. Again, you could do `if ( ++$n >= 1000 )`.