Home
last modified time | relevance | path

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

123456

/php-src/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");
/php-src/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-src/sapi/cgi/tests/
H A Dinclude.inc53 putenv("REDIRECT_STATUS");
54 putenv("QUERY_STRING");
55 putenv("PATH_TRANSLATED");
56 putenv("SCRIPT_FILENAME");
57 putenv("SERVER_SOFTWARE");
58 putenv("SERVER_NAME");
59 putenv("GATEWAY_INTERFACE");
60 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-src/sapi/cli/tests/
H A Dbug64544.phpt2 Bug #64544 (Valgrind warnings after using putenv)
12 putenv("HOME=/tmp");
15 putenv("FOO=BAR");
/php-src/
H A Drun-tests.php193 putenv('SSH_CLIENT=deleted');
194 putenv('SSH_AUTH_SOCK=deleted');
195 putenv('SSH_TTY=deleted');
196 putenv('SSH_CONNECTION=deleted');
502 putenv("TEST_PHP_EXECUTABLE=$php");
507 putenv("TEST_PHP_EXECUTABLE=$php");
511 putenv('NO_INTERACTION=1');
663 putenv("TEST_PHP_EXECUTABLE=$php");
667 putenv("TEST_PHP_CGI_EXECUTABLE=$php_cgi");
671 putenv("TEST_PHPDBG_EXECUTABLE=$phpdbg");
[all …]
/php-src/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-src/ext/gettext/tests/
H A Dgettext_dcgettext.phpt15 putenv('LC_MESSAGES=en_US.UTF-8');
17 putenv('LC_ALL=en_US.UTF-8');
H A Dgettext_dgettext.phpt15 putenv('LC_MESSAGES=en_US.UTF-8');
17 putenv('LC_ALL=en_US.UTF-8');
/php-src/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
H A Ddate_default_timezone_get-2.phpt11 putenv('TZ=');
/php-src/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-src/sapi/fuzzer/
H A Dfuzzer-parser.c44 putenv("USE_TRACKED_ALLOC=1"); in LLVMFuzzerInitialize()
/php-src/sapi/phpdbg/tests/
H A Dgh12962.phpt9 putenv('PHP_INI_SCAN_DIR='.__DIR__."/gh12962");
/php-src/ext/pdo_pgsql/tests/
H A Dbug48764.phpt40 putenv('PDOTEST_ATTR='.serialize(array(
50 putenv('PDOTEST_ATTR');

Completed in 21 milliseconds

123456