Lines Matching refs:argv
154 global $DETAILED, $PHP_FAILED_TESTS, $SHOW_ONLY_GROUPS, $argc, $argv, $cfg,
380 if (!isset($argc, $argv) || !$argc) {
381 $argv = [__FILE__];
386 $argv = array_merge($argv, explode(' ', getenv('TEST_PHP_ARGS')));
387 $argc = count($argv);
392 $switch = substr($argv[$i], 1, 1);
393 $repeat = substr($argv[$i], 0, 1) == '-';
397 $switch = substr($argv[$i], 1, 1);
425 $workers = substr($argv[$i], 2);
437 $test_list = file($argv[++$i]);
454 $failed_tests_file = fopen($argv[++$i], 'w+t');
457 $failed_tests_file = fopen($argv[++$i], 'a+t');
460 $result_tests_file = fopen($argv[++$i], 'w+t');
463 $conf_passed = $argv[++$i];
466 $ini_overwrites[] = $argv[++$i];
469 $SHOW_ONLY_GROUPS = explode(",", $argv[++$i]);
482 $valgrind = new RuntestsValgrind($environment, $argv[++$i]);
513 $php = $argv[++$i];
528 $output_file = $argv[++$i];
532 $timeout = $argv[++$i] ?? '';
539 $context_line_count = $argv[++$i] ?? '';
551 $slow_min_ms = $argv[++$i] ?? '';
558 $temp_source = $argv[++$i];
561 $temp_target = $argv[++$i];
594 $num_repeats = (int) $argv[++$i];
603 $switch = $argv[$i];
631 $testfile = realpath($argv[$i]);
633 if (!$testfile && strpos($argv[$i], '*') !== false && function_exists('glob')) {
634 if (substr($argv[$i], -5) == '.phpt') {
635 $pattern_match = glob($argv[$i]);
636 } elseif (preg_match("/\*$/", $argv[$i])) {
637 $pattern_match = glob($argv[$i] . '.phpt');
639 die('Cannot find test file "' . $argv[$i] . '".' . PHP_EOL);
650 die('Cannot find test file "' . $argv[$i] . '".' . PHP_EOL);