php-src/tests
Christoph M. Becker 93a3c71eb4
Fix GH-7896: Environment vars may be mangled on Windows
When bug 77574[1] has been fixed, the fix only catered to variables
retrieved via `getenv()` with a `$varname` passed, but neither to
`getenv()` without arguments nor to the general import of environment
variables into `$_ENV` and `$_SERVER`.  We catch up on this by using
`GetEnvironmentStringsW()` in `_php_import_environment_variables()` and
converting the encoding to whatever had been chosen by the user.

[1] <https://bugs.php.net/bug.php?id=75574>

Closes GH-7928.
2022-01-17 23:44:41 +01:00
..
basic Fix GH-7896: Environment vars may be mangled on Windows 2022-01-17 23:44:41 +01:00
classes Fix parameter name in call_user_func() error message 2021-07-29 12:48:25 +02:00
func Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
lang Run tidy 2020-09-18 14:28:32 +02:00
output Run tidy 2020-09-18 14:28:32 +02:00
run-test Run tidy 2020-09-18 14:28:32 +02:00
security Merge branch 'PHP-7.4' into PHP-8.0 2021-08-17 11:31:14 +02:00
strings Fix bug #69751 2021-09-29 12:21:37 +02:00
quicktester.inc Reindent phpt files 2020-02-03 22:52:20 +01:00