1--TEST--
2Bug #79254 (getenv() w/o arguments not showing changes)
3--FILE--
4<?php
5
6$old = getenv();
7var_dump(getenv("PHP_BUG_79254", true));
8
9putenv("PHP_BUG_79254=BAR");
10
11$new = getenv();
12var_dump(array_diff($new, $old));
13var_dump(getenv("PHP_BUG_79254", true));
14
15?>
16--EXPECT--
17bool(false)
18array(1) {
19  ["PHP_BUG_79254"]=>
20  string(3) "BAR"
21}
22string(3) "BAR"
23