Return to bug50690.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / general_functions |
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)