summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/bug50690.phpt
blob: 4d9f0dc5ee932983f357e988dd9ca1fec80d7061 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
Bug #23650 (putenv() does not assign values when the value is one character)
--FILE--
<?php
putenv("foo=ab");
putenv("bar=c");
var_dump(getenv("foo"));
var_dump(getenv("bar"));
var_dump(getenv("thisvardoesnotexist"));
?>
--EXPECT--
string(2) "ab"
string(1) "c"
bool(false)