PHP_BINDIR on Windows incorrect?
<p>When I run a script on Windows using PHP 5.6 (coming from <a href="http://www.wampserver.com/en/" rel="nofollow">WampServer 2.4</a>) I get this confusing result:</p>

<p></p>

<pre><code>$binary = PHP_BINARY;  // $binary: "C:\wamp\bin\php\php5.6.15\php.exe"
$bindir = PHP_BINDIR;  // $bindir: "C:\php"
</code></pre>

<p><code>PHP_BINARY</code> is correct but <code>PHP_BINDIR</code> is completely wrong. Is the latter variable deprecated or something? Any other ideas why it would output some random path that doesn't even exist on my disk?</p>