On Linux $_SERVER["_"] contains path to PHP interpreter executable (for example /usr/bin/php -r 'echo $_SERVER["_"];' will print /usr/bin/php). On Windows XP with PHP 5.3 $_SERVER["_"] is NULL.
On Linux $_SERVER[_] contains path to PHP interpreter executable (for example /usr/bin/php -r ‘echo
Share
That’s nothing to do with PHP itself. It’s shell that defines that environment variable. PHP just picks it up
For instance, see here:
I think your best shot in Windows is to write an internal function. E.g.
Example: