Retrieve data contained a certain span class
<p>using <code>file_get_contents</code>, I open an Internet URL and get the contents of this webpage. </p>

<p>Inside the HTML there are many identical span class tags:</p>

<pre><code>&lt;span class="always-the-same-class"&gt;always dynamic text&lt;/span&gt;
</code></pre>

<p>Now, I want to get an array containing all the "dynamic text" contained in any of this tags. It is not necessary to eliminate duplicated entries (I need them).</p>

<p>Is this possible? How could I do?</p>
