title: PHP realpath('./models') returns "" or null?
body: <p>When I try </p>
  
  <pre><code>realpath('./')
  </code></pre>
  
  <p>I get "D:\Projects\Tickle\public"</p>
  
  <p>But when I try</p>
  
  <pre><code>realpath('./models'); // or './models/'
  </code></pre>
  
  <p>I get "" or null. why is that? The strange thing is that when I try</p>
  
  <pre><code>realpath('../application/models');
  </code></pre>
  
  <p>I get "D:\Projects\Tickle\application\models" which is right</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>My directory structure looks like below (I am using Zend Framework)</p>
  
  <pre><code>/application
      /models
      /controllers
      /views
      /configs
      bootstrap.php  &lt;-- this is where I am
  </code></pre>