Home
last modified time | relevance | path

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

123456

/PHP-8.2/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.2/ext/pdo/tests/
H A Dpdo_dsn_containing_credentials.phpt27 putenv("PDOTEST_DSN=$orgDsn;user=$orgUser;password=$orgPass");
28 putenv("PDOTEST_USER");
29 putenv("PDOTEST_PASS");
36 putenv("PDOTEST_DSN=$orgDsn;user=incorrect;password=ignored");
37 putenv("PDOTEST_USER=$orgUser");
38 putenv("PDOTEST_PASS=$orgPass");
45 putenv("PDOTEST_DSN=$orgDsn");
46 putenv("PDOTEST_USER=$orgUser");
47 putenv("PDOTEST_PASS=$orgPass");
H A Dbug_72788.phpt14 if (getenv('REDIR_TEST_DIR') === false) putenv('REDIR_TEST_DIR='.__DIR__ . '/../../pdo/tests/');
17 putenv("PDOTEST_ATTR=" . serialize(array(PDO::ATTR_PERSISTENT => true)));
/PHP-8.2/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 Dghsa-3qgc-jrrr-25jv.phpt22 putenv("SERVER_NAME=Test");
23 putenv("SCRIPT_FILENAME=$filename");
24 putenv("QUERY_STRING=%ads");
25 putenv("REDIRECT_STATUS=1");
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.2/sapi/cli/tests/
H A Dbug64544.phpt2 Bug #64544 (Valgrind warnings after using putenv)
12 putenv("HOME=/tmp");
15 putenv("FOO=BAR");
/PHP-8.2/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.2/
H A Drun-tests.php200 putenv('SSH_CLIENT=deleted');
201 putenv('SSH_AUTH_SOCK=deleted');
202 putenv('SSH_TTY=deleted');
203 putenv('SSH_CONNECTION=deleted');
514 putenv("TEST_PHP_EXECUTABLE=$php");
519 putenv("TEST_PHP_EXECUTABLE=$php");
523 putenv('NO_INTERACTION=1');
681 putenv("TEST_PHP_EXECUTABLE=$php");
683 putenv("TEST_PHP_CGI_EXECUTABLE=$php_cgi");
685 putenv("TEST_PHPDBG_EXECUTABLE=$phpdbg");
[all …]
/PHP-8.2/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');
/PHP-8.2/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 Ddefault-timezone-2.phpt6 putenv('TZ='); // clean TZ so that it doesn't bypass the ini option
/PHP-8.2/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.2/sapi/fuzzer/
H A Dfuzzer-parser.c44 putenv("USE_TRACKED_ALLOC=1"); in LLVMFuzzerInitialize()
/PHP-8.2/sapi/phpdbg/tests/
H A Dgh12962.phpt9 putenv('PHP_INI_SCAN_DIR='.__DIR__."/gh12962");
/PHP-8.2/ext/pdo_pgsql/tests/
H A Dbug48764.phpt41 putenv('PDOTEST_ATTR='.serialize(array(
51 putenv('PDOTEST_ATTR');

Completed in 29 milliseconds

123456