|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49476 $_ENV does not work
Submitted: 2009-09-05 23:52 UTC Modified: 2013-02-18 00:33 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: elmu at gmx dot de Assigned:
Status: No Feedback Package: Variables related
PHP Version: 6SVN-2009-09-05 (snap) OS: Windows
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

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

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

works on both PHP 5 and PHP 6.

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



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-09-05 23:57 UTC] elmu at gmx dot de
I wanted to say $_SERVER["SERVER_SIGNATURE"] works on both.
 [2009-09-06 19:48 UTC] elmu at gmx dot de
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-06 20:31 UTC]
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-22 21:03 UTC] elmue at gmx dot de
I repeated the test on build from 22 sep 2009 and the result is the same


are empty.

Even a 
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!
 [2009-09-22 21:19 UTC] elmue at gmx dot de

In version 22 sep 2009 it is even worse:

Failed to decode _FILES array

The last time I tested on PHP6 this did work.
Now its broken.
 [2010-06-08 15:32 UTC]
-Status: Open +Status: Feedback
 [2010-06-08 15:32 UTC]
Please try using this snapshot:
For Windows:

 [2013-02-18 00:33 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Dec 08 13:03:41 2021 UTC