php-src/tests/basic
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
..
001.phpt
002.phpt
003.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
004.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
005.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
006.phpt
007.phpt
008.phpt
009.phpt
010.phpt
011.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
012.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
013.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
014.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
015.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
016.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
017.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
018.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
019.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
020.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
021.phpt Fix bug 61716 tests\basic\021.phpt fails 2012-04-16 15:14:26 +02:00
022.phpt Do not decode cookie names anymore 2020-09-26 23:47:04 -07:00
023.phpt Do not decode cookie names anymore 2020-09-26 23:47:04 -07:00
025.phpt Improve undefined variable error messages 2020-03-31 13:02:32 +02:00
028.phpt
029.phpt Remove some uses of deprecated internal_encoding settings in tests 2019-04-17 14:24:11 +02:00
030.phpt
031.phpt
032.phpt
bug20539.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug29971.phpt Remove executable permission on phpt 2012-10-10 10:27:49 +08:00
bug31875.phpt Completely remove disabled functions from function table 2020-04-30 09:53:57 +02:00
bug45986.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
bug53180.phpt Fix CRLF line-endings in tests 2016-11-20 22:31:24 +01:00
bug54514.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug55500.phpt Remove more PHP 6 leftovers from tests 2016-11-24 22:39:39 +01:00
bug61000.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug67198.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug67988.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug71273.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug73969.inc Fixed #73969 - Fixed segmentation fault when debug_print_backtrace called 2017-01-22 16:11:25 +00:00
bug73969.phpt Fixed #73969 - Fixed segmentation fault when debug_print_backtrace called 2017-01-22 16:11:25 +00:00
bug78236.phpt Fix #78236: convert error on receiving variables when duplicate [ 2020-07-23 15:48:09 +02:00
bug78929.phpt Fix #78929: plus signs in cookie values are converted to spaces 2019-12-12 14:21:46 +01:00
bug79699.phpt Do not decode cookie names anymore 2020-09-26 23:47:04 -07:00
bug80384.phpt Fix #80384: limit read buffer size 2020-12-23 13:49:56 +01:00
consistent_float_string_casts.phpt Make float to string casts locale-independent 2020-05-08 10:52:23 +02:00
enable_post_data_reading_01.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
enable_post_data_reading_02.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
enable_post_data_reading_03.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
enable_post_data_reading_04.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
enable_post_data_reading_05.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
enable_post_data_reading_06.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
enable_post_data_reading_07.phpt Fix seeking in php://input 2019-01-18 12:44:47 +01:00
encoding.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
gh7896.phpt Fix GH-7896: Environment vars may be mangled on Windows 2022-01-17 23:44:41 +01:00
header_register_callback.phpt Fixed bug memleak in header_register_callback 2015-12-11 17:26:31 +08:00
precision.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
req44164.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
req60524-win.phpt Change PHP_OS_FAMILY slightly 2017-02-22 12:31:06 +01:00
req60524.phpt Make more tests run on Windows 2019-05-27 10:51:53 +02:00
rfc1867_anonymous_upload.phpt remove support for string|unicode in tests 2018-02-22 08:11:30 +01:00
rfc1867_array_upload.phpt Remove more PHP 6 leftovers from tests 2016-11-24 22:39:39 +01:00
rfc1867_boundary_1.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
rfc1867_boundary_2.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
rfc1867_empty_upload.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
rfc1867_file_upload_disabled.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
rfc1867_garbled_mime_headers.phpt Decouple DEBUG_FILE_UPLOAD from ZEND_DEBUG 2016-08-19 00:34:13 +02:00
rfc1867_invalid_boundary.phpt Decouple DEBUG_FILE_UPLOAD from ZEND_DEBUG 2016-08-19 00:34:13 +02:00
rfc1867_malicious_input.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
rfc1867_max_file_size.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
rfc1867_max_file_uploads_empty_files.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
rfc1867_missing_boundary_2.phpt Use EXPECT instead of EXPECTF when possible 2018-09-16 15:39:18 -03:00
rfc1867_missing_boundary.phpt Decouple DEBUG_FILE_UPLOAD from ZEND_DEBUG 2016-08-19 00:34:13 +02:00
rfc1867_post_max_filesize.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
rfc1867_post_max_size.phpt Decouple DEBUG_FILE_UPLOAD from ZEND_DEBUG 2016-08-19 00:34:13 +02:00
timeout_variation_0.phpt Fix timeout tests 2019-12-05 11:19:23 +01:00
timeout_variation_1.phpt Fix timeout tests 2019-12-05 11:19:23 +01:00
timeout_variation_2.phpt Fix timeout tests 2019-12-05 11:19:23 +01:00
timeout_variation_4.phpt Fix timeout tests 2019-12-05 11:19:23 +01:00
timeout_variation_7.phpt Fix timeout tests 2019-12-05 11:19:23 +01:00
timeout_variation_8.phpt Fix timeout tests 2019-12-05 11:19:23 +01:00
timeout_variation_9.phpt Honor script time limit when calling shutdown functions 2020-05-13 12:47:12 +02:00
timeout_variation_10.phpt Honor script time limit when calling shutdown functions 2020-05-13 12:47:12 +02:00