Lines Matching refs:environment
92 $environment = $_ENV ?? array(); variable
95 if (empty($environment)) {
97 $environment = getenv(); variable
99 if (empty($environment['TEMP'])) {
100 $environment['TEMP'] = sys_get_temp_dir();
102 if (empty($environment['TEMP'])) {
108 } else if (count($environment)==1) {
115 if ((substr(PHP_OS, 0, 3) == "WIN") && empty($environment["SystemRoot"])) {
116 $environment["SystemRoot"] = getenv("SystemRoot");
144 $environment['TEST_PHP_EXECUTABLE'] = $php;
155 $environment['TEST_PHP_CGI_EXECUTABLE'] = $php_cgi;
183 $environment['TEST_PHPDBG_EXECUTABLE'] = $phpdbg;
616 $valgrind = new RuntestsValgrind($environment);
633 $environment['TEST_PHP_EXECUTABLE'] = $php;
642 $environment['TEST_PHP_EXECUTABLE'] = $php;
653 $environment['TEST_TIMEOUT'] = $argv[++$i];
680 $environment['SKIP_SLOW_TESTS'] = 1;
683 $environment['SKIP_ONLINE_TESTS'] = 1;
845 run_all_tests($test_files, $environment);
986 run_all_tests($test_files, $environment);
1255 global $valgrind, $temp_source, $temp_target, $cfg, $environment;
1708 $redirenv = array_merge($environment, $IN_REDIRECT['ENV']);
2990 public function __construct(array $environment) { argument
2991 $header = system_with_timeout('valgrind --version', $environment);