PHP - Divide sequence of numbers by decimal seperation
<p>I have a number that represents a software version (ex: 1.2.0.14) and I need to separate each number that is divided by a decimal and store each number as a separate variable.</p>

<p>Example:</p>

<p>Original number is 1.2.0.14</p>

<pre><code>$current_version_major = 1;
$current_version_minor = 2;
$current_version_revision = 0;
$current_version_build = 14;
</code></pre>

<p>What would be the most efficient way to go about doing this?</p>
