Searched refs:testfile (Results 1 – 8 of 8) sorted by relevance
/PHP-7.4/ext/standard/tests/file/ |
H A D | pathinfo_variation3.phpt | 15 $testfile = "/usr/include/arpa/inet.h"; 20 var_dump(pathinfo($testfile, PATHINFO_BASENAME)); 21 var_dump(pathinfo($testfile, PATHINFO_FILENAME)); 22 var_dump(pathinfo($testfile, PATHINFO_EXTENSION)); 23 var_dump(pathinfo($testfile, PATHINFO_DIRNAME)); 26 var_dump(pathinfo($testfile, PATHINFO_EXTENSION|PATHINFO_FILENAME)); 27 var_dump(pathinfo($testfile, PATHINFO_EXTENSION|PATHINFO_BASENAME)); 28 var_dump(pathinfo($testfile, PATHINFO_FILENAME|PATHINFO_DIRNAME)); 29 var_dump(pathinfo($testfile, PATHINFO_FILENAME|PATHINFO_BASENAME)); 30 var_dump(pathinfo($testfile, PATHINFO_DIRNAME|PATHINFO_EXTENSION)); [all …]
|
H A D | unlink_variation6.phpt | 17 $testfile = $subdir.'/testfile.txt'; 19 touch($testfile); 20 f_exists($testfile); 22 var_dump(unlink($testfile, $context)); 23 f_exists($testfile); 38 subdir/testfile.txt exists 40 subdir/testfile.txt doesn't exist
|
H A D | file_variation9.phpt | 14 $testfile = __DIR__."/fileVar9.txt"; 24 @unlink($testfile); 26 $h = fopen($testfile, "w"); 29 var_dump(file($testfile)); 30 unlink($testfile);
|
/PHP-7.4/sapi/phpdbg/ |
H A D | create-test.php | 104 while (!isset($testfile)) { 106 $testfile = trim(fgets(STDIN)); variable 107 if ($testfile != "" && file_exists($testfile)) { 111 unset($testfile); 139 if ($testfile == "") { 141 } elseif (file_put_contents($testfile, $testdata)) { 142 print "Test saved to $testfile\n"; 144 print "The test could not be saved to $testfile; outputting on stderr now\n"; 145 $testfile = ""; variable 148 if ($testfile == "") {
|
/PHP-7.4/ext/phar/tests/ |
H A D | bug79082.phpt | 12 chmod(__DIR__ . '/test79082/test79082-testfile', 0644); 20 var_dump(decoct(stat(__DIR__ . '/test79082-testfile')['mode'])); 22 unlink(__DIR__ . '/test79082-testfile'); 30 var_dump(decoct(stat(__DIR__ . '/test79082-testfile')['mode'])); 32 unlink(__DIR__ . '/test79082-testfile');
|
/PHP-7.4/ext/bz2/tests/ |
H A D | bug72447.phpt | 10 $fp = fopen('testfile', 'w'); 16 unlink('testfile');
|
/PHP-7.4/ |
H A D | run-tests.php | 57 $test_files, $test_idx, $test_list, $test_results, $testfile, 623 $testfile = realpath($argv[$i]); 625 if (!$testfile && strpos($argv[$i], '*') !== false && function_exists('glob')) { 642 if (is_dir($testfile)) { 643 find_files($testfile); 645 if (substr($testfile, -5) == '.phpt') { 646 $test_files[] = $testfile; 1071 $testfile = realpath("{$dir}/{$name}"); 1072 $test_files[] = $testfile;
|
/PHP-7.4/ext/phar/tests/files/ |
H A D | pear2coverage.phar | 209 foreach ($tests as $testfile) { 212 $output->writeAttribute('href', $this->mangleTestFile($testfile)); 213 $output->text(str_replace($testpath . '/', '', $testfile)); 527 function coveragePercentage($sourcefile, $testfile = null) 529 return $this->sqlite->coveragePercentage($sourcefile, $testfile); 809 function coveragePercentage($sourcefile, $testfile = null) 811 return $this->sqlite->coveragePercentage($sourcefile, $testfile); 1148 function coveragePercentage($sourcefile, $testfile = null) 1150 if ($testfile) { 1151 $coverage = $this->retrievePathCoverageByTest($sourcefile, $testfile);
|
Completed in 22 milliseconds