When I run a script on Windows using PHP 5.6 (coming from WampServer 2.4) I get this confusing result:
$binary = PHP_BINARY; // $binary: "C:\wamp\bin\php\php5.6.15\php.exe"
$bindir = PHP_BINDIR; // $bindir: "C:\php"
PHP_BINARY
is correct but PHP_BINDIR
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?