Home
last modified time | relevance | path

Searched refs:putenv (Results 1 – 25 of 140) sorted by relevance

123456

/PHP-8.0/ext/standard/tests/general_functions/
H A Dputenv_bug75574_utf8.phpt12 var_dump(putenv('FOO=啊'), getenv("FOO"));
13 var_dump(putenv('FOO=啊啊'), getenv("FOO"));
14 var_dump(putenv('FOO=啊啊啊'), getenv("FOO"));
15 var_dump(putenv('FOO=啊啊啊啊'), getenv("FOO"));
17 var_dump(putenv('FOO=啊a'), getenv("FOO"));
18 var_dump(putenv('FOO=啊a啊'), getenv("FOO"));
19 var_dump(putenv('FOO=啊a啊a'), getenv("FOO"));
20 var_dump(putenv('FOO=啊a啊a啊'), getenv("FOO"));
21 var_dump(putenv('FOO=啊a啊啊'), getenv("FOO"));
22 var_dump(putenv('FOO=啊a啊啊啊'), getenv("FOO"));
[all …]
H A Dputenv_bug75574_cp936_win.phpt23 var_dump(putenv('FOO=��'), getenv("FOO"));
24 var_dump(putenv('FOO=����'), getenv("FOO"));
25 var_dump(putenv('FOO=������'), getenv("FOO"));
26 var_dump(putenv('FOO=��������'), getenv("FOO"));
28 var_dump(putenv('FOO=��a'), getenv("FOO"));
29 var_dump(putenv('FOO=��a��'), getenv("FOO"));
30 var_dump(putenv('FOO=��a��a'), getenv("FOO"));
31 var_dump(putenv('FOO=��a��a��'), getenv("FOO"));
32 var_dump(putenv('FOO=��a����'), getenv("FOO"));
33 var_dump(putenv('FOO=��a������'), getenv("FOO"));
[all …]
H A Dputenv.phpt2 putenv() basic tests
9 var_dump(putenv($var_name."=value"));
12 var_dump(putenv($var_name."="));
15 var_dump(putenv($var_name));
19 putenv("=123");
25 putenv("");
40 putenv(): Argument #1 ($assignment) must have a valid syntax
41 putenv(): Argument #1 ($assignment) must have a valid syntax
H A Dbug50690.phpt2 Bug #23650 (putenv() does not assign values when the value is one character)
5 putenv("foo=ab");
6 putenv("bar=c");
H A Dbug79254.phpt9 putenv("PHP_BUG_79254=BAR");
/PHP-8.0/ext/pdo/tests/
H A Dpdo_dsn_containing_credentials.phpt26 putenv("PDOTEST_DSN=$orgDsn;user=$orgUser;password=$orgPass");
27 putenv("PDOTEST_USER");
28 putenv("PDOTEST_PASS");
35 putenv("PDOTEST_DSN=$orgDsn;user=incorrect;password=ignored");
36 putenv("PDOTEST_USER=$orgUser");
37 putenv("PDOTEST_PASS=$orgPass");
44 putenv("PDOTEST_DSN=$orgDsn");
45 putenv("PDOTEST_USER=$orgUser");
46 putenv("PDOTEST_PASS=$orgPass");
H A Dbug_72788.phpt13 if (getenv('REDIR_TEST_DIR') === false) putenv('REDIR_TEST_DIR='.__DIR__ . '/../../pdo/tests/');
16 putenv("PDOTEST_ATTR=" . serialize(array(PDO::ATTR_PERSISTENT => true)));
/PHP-8.0/sapi/cgi/tests/
H A Dinclude.inc52 putenv("REDIRECT_STATUS");
53 putenv("QUERY_STRING");
54 putenv("PATH_TRANSLATED");
55 putenv("SCRIPT_FILENAME");
56 putenv("SERVER_SOFTWARE");
57 putenv("SERVER_NAME");
58 putenv("GATEWAY_INTERFACE");
59 putenv("REQUEST_METHOD");
H A D009.phpt15 putenv("TRANSLATED_PATH=".$f."/x");
16 putenv("SCRIPT_FILENAME=".$f."/x");
H A Dbug75574_utf8.phpt2 Bug #75574 putenv does not work properly if parameter contains non-ASCII unicode character, UTF-8
20 file_put_contents($fn, "<?php\nvar_dump(putenv('FOO=啊'));\n//var_dump(`echo %FOO%`);\nvar_dump(gete…
H A Dapache_request_headers.phpt24 putenv($name."=".str_repeat("A", 256));
26 putenv($name);
H A D010.phpt15 putenv("TRANSLATED_PATH=".$f."/x");
16 putenv("SCRIPT_FILENAME=".$f."/x");
/PHP-8.0/sapi/cli/tests/
H A Dbug64544.phpt2 Bug #64544 (Valgrind warnings after using putenv)
12 putenv("HOME=/tmp");
15 putenv("FOO=BAR");
/PHP-8.0/ext/odbc/tests/
H A Dconfig.inc3 putenv('ODBCINI=/etc/odbc.ini');
4 putenv('ODBCSYSINI=/etc');
/PHP-8.0/ext/calendar/tests/
H A Dunixtojd.phpt10 putenv('TZ=UTC');
12 // putenv (basic_functions.c) does call tzset() when the env var being put is 'TZ'
17 // -since putenv() is written to call tzset() when env var is TZ, I assume that putenv("TZ=UTC") …
22 // -uses putenv('TZ=UTC')
/PHP-8.0/ext/standard/tests/ini_info/
H A Dphp_ini_scanned_files.phpt10 putenv('PHP_INI_SCAN_DIR=');
14 putenv('PHP_INI_SCAN_DIR='.$scandir);
/PHP-8.0/ext/gettext/tests/
H A Dgettext_dcgettext.phpt14 putenv('LC_MESSAGES=en_US.UTF-8');
16 putenv('LC_ALL=en_US.UTF-8');
H A Dgettext_dgettext.phpt14 putenv('LC_MESSAGES=en_US.UTF-8');
16 putenv('LC_ALL=en_US.UTF-8');
H A Dgettext_basic.phpt16 putenv('LC_ALL=fi_FI');
/PHP-8.0/ext/date/tests/
H A Dbug13142.phpt10 if (!@putenv("TZ=US/Eastern") || getenv("TZ") != 'US/Eastern') {
18 putenv("TZ=EST5EDT4,M4.1.0,M10.5.0");
H A Ddefault-timezone-1.phpt6 putenv('TZ='); // clean TZ so that it doesn't bypass the ini option
H A Ddate_default_timezone_get-2.phpt11 putenv('TZ=');
H A Ddefault-timezone-2.phpt6 putenv('TZ='); // clean TZ so that it doesn't bypass the ini option
H A Ddate_default_timezone_get-1.phpt11 putenv('TZ=');
/PHP-8.0/sapi/fuzzer/
H A Dfuzzer-parser.c43 putenv("USE_TRACKED_ALLOC=1"); in LLVMFuzzerInitialize()

Completed in 26 milliseconds

123456