Re: Windows ENV['_'] equivalent

From: Date: Sat, 14 Oct 2006 00:44:23 +0000
Subject: Re: Windows ENV['_'] equivalent
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-243108@lists.php.net to get a copy of this message
# ceo@l-i-e.com / 2006-10-13 13:53:56 -0500: > So, I have this automated testing script I wrote, and I want to make > it work on more than just my computer. > > In cygwin, and in Linux, EVN['_'] has the nice path to the binary CLI > which is running -- which I call again in a backticks for each test > script in turn, to provide a consistent starting point. > > In windows... There ain't nothing in phpinfo() that matches the > php.exe which I'm running... > > How do you handle this? > > Note that I'm not attempting to test specific versions of PHP -- just > the PHP scripts, so I really just want to run whatever PHP they are > already running in their test environment, whatever that might be. > > It's not in $argv, it's not in ENV. What does $argv look like in windows? -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991

« previous php.general (#243108) next »