Lines Matching refs:argv
151 global $DETAILED, $PHP_FAILED_TESTS, $SHOW_ONLY_GROUPS, $argc, $argv, $cfg,
379 if (!isset($argc, $argv) || !$argc) {
380 $argv = [__FILE__];
385 $argv = array_merge($argv, explode(' ', getenv('TEST_PHP_ARGS')));
386 $argc = count($argv);
391 $switch = substr($argv[$i], 1, 1);
392 $repeat = substr($argv[$i], 0, 1) == '-';
396 $switch = substr($argv[$i], 1, 1);
424 $workers = substr($argv[$i], 2);
436 $test_list = file($argv[++$i]);
455 $failed_tests_file = fopen($argv[++$i], 'w+t');
458 $failed_tests_file = fopen($argv[++$i], 'a+t');
461 $result_tests_file = fopen($argv[++$i], 'w+t');
464 $conf_passed = $argv[++$i];
467 $ini_overwrites[] = $argv[++$i];
470 $SHOW_ONLY_GROUPS = explode(",", $argv[++$i]);
483 $valgrind = new RuntestsValgrind($environment, $argv[++$i]);
514 $php = $argv[++$i];
529 $output_file = $argv[++$i];
533 $timeout = $argv[++$i] ?? '';
540 $context_line_count = $argv[++$i] ?? '';
552 $slow_min_ms = $argv[++$i] ?? '';
559 $temp_source = $argv[++$i];
562 $temp_target = $argv[++$i];
595 $num_repeats = (int) $argv[++$i];
604 $switch = $argv[$i];
626 $testfile = realpath($argv[$i]);
628 if (!$testfile && strpos($argv[$i], '*') !== false && function_exists('glob')) {
629 if (substr($argv[$i], -5) == '.phpt') {
630 $pattern_match = glob($argv[$i]);
632 if (preg_match("/\*$/", $argv[$i])) {
633 $pattern_match = glob($argv[$i] . '.phpt');
635 die('Cannot find test file "' . $argv[$i] . '".' . PHP_EOL);
649 die('Cannot find test file "' . $argv[$i] . '".' . PHP_EOL);