title: PHP - Mask IP Using String Replacement?
body: <p>Is there a function to hide the last 2-3 digits in an IP so it shows</p>
  
  <pre><code>127.0.0.xxx
  </code></pre>
  
  <p>For example?</p>
  
  <p>I know of str_replace, but that can't be used for this, or can it? =P</p>