PHP read CSV file line by lines
<p>I have a CSV file loaded from an URL, and I want to loop over the lines with PHP.</p>

<p>Here is a typical line of this CSV: </p>

<pre><code>1004000018;active;"TEST1";"TEST2";"TEST3";"TEST4" 
</code></pre>

<p>I would like to get this result, for each row:</p>

<pre><code>1004000018
active
TEST1
TEST2
TEST3
TEST4
</code></pre>