Lines Matching refs:argv
148 global $DETAILED, $PHP_FAILED_TESTS, $SHOW_ONLY_GROUPS, $argc, $argv, $cfg,
372 if (!isset($argc, $argv) || !$argc) {
373 $argv = [__FILE__];
378 $argv = array_merge($argv, explode(' ', getenv('TEST_PHP_ARGS')));
379 $argc = count($argv);
384 $switch = substr($argv[$i], 1, 1);
385 $repeat = substr($argv[$i], 0, 1) == '-';
389 $switch = substr($argv[$i], 1, 1);
415 $workers = substr($argv[$i], 2);
427 $test_list = file($argv[++$i]);
444 $failed_tests_file = fopen($argv[++$i], 'w+t');
447 $failed_tests_file = fopen($argv[++$i], 'a+t');
450 $result_tests_file = fopen($argv[++$i], 'w+t');
453 $conf_passed = $argv[++$i];
456 $ini_overwrites[] = $argv[++$i];
459 $SHOW_ONLY_GROUPS = explode(",", $argv[++$i]);
470 $valgrind = new RuntestsValgrind($environment, $argv[++$i]);
501 $php = $argv[++$i];
515 $output_file = $argv[++$i];
519 $timeout = $argv[++$i] ?? '';
526 $context_line_count = $argv[++$i] ?? '';
538 $slow_min_ms = $argv[++$i] ?? '';
545 $temp_source = $argv[++$i];
548 $temp_target = $argv[++$i];
584 $num_repeats = (int) $argv[++$i];
592 $switch = $argv[$i];
620 $testfile = realpath($argv[$i]);
622 if (!$testfile && strpos($argv[$i], '*') !== false && function_exists('glob')) {
623 if (substr($argv[$i], -5) == '.phpt') {
624 $pattern_match = glob($argv[$i]);
625 } elseif (preg_match("/\*$/", $argv[$i])) {
626 $pattern_match = glob($argv[$i] . '.phpt');
628 die('Cannot find test file "' . $argv[$i] . '".' . PHP_EOL);
639 die('Cannot find test file "' . $argv[$i] . '".' . PHP_EOL);