Re: Windows ENV['_'] equivalent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, October 13, 2006 7:44 pm, Roman Neuhauser wrote:
> # ceo@xxxxxxxxx / 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?

$argv looks the same in both cases.

array (0) {
}

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux