mirror of
https://github.com/php/php-src.git
synced 2024-10-01 14:56:10 +00:00
15 lines
296 B
PHP
15 lines
296 B
PHP
--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)
|