title: Why would this string be returning false in PHP when realpath()'d?
body: <p>Here is my string</p>
  
  <pre><code>$newPath = '/~new/assets/js/../packages/prettyphoto/js/jquery.prettyPhoto.js';
  </code></pre>
  
  <p>Now check this output</p>
  
  <pre><code>var_dump($newPath); // string(64) "/~new/assets/js/../packages/prettyphoto/js/jquery.prettyPhoto.js"
  var_dump(realpath($newPath)); // bool(false)
  </code></pre>
  
  <p>Does anyone know why this would be returning false on me?</p>