ID:               49476
 Comment by:       elmue at gmx dot de
 Reported By:      elmu at gmx dot de
 Status:           Open
 Bug Type:         Variables related
 Operating System: Windows
 PHP Version:      6SVN-2009-09-05 (snap)
 New Comment:

I repeated the test on build from 22 sep 2009 and the result is the
same

$_ENV["OS"]
$_ENV["PROCESSOR_IDENTIFIER"]
$_ENV["COMPUTERNAME"]

are empty.

Even a 
print_r($_ENV)
shows:
Array ( )

This cannot be caused by input encoding because these variables have no
special characters in them.

On PHP5 the same array has plenty content!


Previous Comments:
------------------------------------------------------------------------

[2009-09-06 20:31:59] paj...@php.net

ENV works just fine here. But there are changes about input encoding
that have not been test at all. And all in all, the current status of
php6 is not tested at all, unstable and needs heavy work to get to
something usable (usable != stable).

------------------------------------------------------------------------

[2009-09-06 19:48:16] elmu at gmx dot de

Note:
It seems that the current PHP 6 has not yet been tested on Windows.
All the bugs I found are related to filesystem or operation system.

------------------------------------------------------------------------

[2009-09-05 23:57:06] elmu at gmx dot de

Sorry 
I wanted to say $_SERVER["SERVER_SIGNATURE"] works on both.

------------------------------------------------------------------------

[2009-09-05 23:52:42] elmu at gmx dot de

Description:
------------
$_ENV["OS"]
$_ENV["PROCESSOR_IDENTIFIER"]
$_ENV["COMPUTERNAME"]

are empty on PHP 6 VC6 while the same code works fine on PHP 5,

while
$_ENV["SERVER_SIGNATURE"]
works on both PHP 5 and PHP 6.

On the other hand the missing values appear correctly in phpinfo()

Strange.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=49476&edit=1

Reply via email to