title: How can i get the PHP magic constant __FILE__ work with Eclipse and PDT
body: <p>Lately when i was debugging some PHP file with XDebug (under Eclipse on Ubuntu) i came across a strange behaviour:</p>
  
  <pre><code>print(__FILE__);
  </code></pre>
  
  <p>resulted in </p>
  
  <pre><code>"xdebug eval"
  </code></pre>
  
  <p>GEE! </p>
  
  <p>So this magic constant seems <strong>not</strong> to work with this.</p>
  
  <p>Anyone know a fix or a viable workaround? How to debug the debugger?
  (Hardcoding a path is a PITA!)</p>