how to get the last digit from the IP address?
<p>Does anyone know how can I get the last digit number from the Ip address in php?</p>

<p>example:</p>

<pre><code>$ip = '200.0.0.12';
</code></pre>

<p>How can I get only 12 from the IP address instead of 200.0.0.12?</p>
