Annotation of embedaddon/php/ext/standard/tests/general_functions/bug50690.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Bug #23650 (putenv() does not assign values when the value is one character)
                      3: --FILE--
                      4: <?php
                      5: putenv("foo=ab");
                      6: putenv("bar=c");
                      7: var_dump(getenv("foo"));
                      8: var_dump(getenv("bar"));
                      9: var_dump(getenv("thisvardoesnotexist"));
                     10: ?>
                     11: --EXPECT--
                     12: string(2) "ab"
                     13: string(1) "c"
                     14: bool(false)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>