Searched refs:testfile (Results 1 – 11 of 11) sorted by relevance
/PHP-8.1/ext/standard/tests/file/ |
H A D | pathinfo_variation3.phpt | 9 $testfile = "/usr/include/arpa/inet.h"; 14 var_dump(pathinfo($testfile, PATHINFO_BASENAME)); 15 var_dump(pathinfo($testfile, PATHINFO_FILENAME)); 16 var_dump(pathinfo($testfile, PATHINFO_EXTENSION)); 17 var_dump(pathinfo($testfile, PATHINFO_DIRNAME)); 20 var_dump(pathinfo($testfile, PATHINFO_EXTENSION|PATHINFO_FILENAME)); 21 var_dump(pathinfo($testfile, PATHINFO_EXTENSION|PATHINFO_BASENAME)); 22 var_dump(pathinfo($testfile, PATHINFO_FILENAME|PATHINFO_DIRNAME)); 23 var_dump(pathinfo($testfile, PATHINFO_FILENAME|PATHINFO_BASENAME)); 24 var_dump(pathinfo($testfile, PATHINFO_DIRNAME|PATHINFO_EXTENSION)); [all …]
|
H A D | unlink_variation6.phpt | 11 $testfile = $subdir.'/testfile.txt'; 13 touch($testfile); 14 f_exists($testfile); 16 var_dump(unlink($testfile, $context)); 17 f_exists($testfile); 31 subdir/testfile.txt exists 33 subdir/testfile.txt doesn't exist
|
H A D | file_variation9.phpt | 8 $testfile = __DIR__."/fileVar9.txt"; 18 @unlink($testfile); 20 $h = fopen($testfile, "w"); 23 var_dump(file($testfile)); 24 unlink($testfile);
|
/PHP-8.1/sapi/phpdbg/ |
H A D | create-test.php | 102 while (!isset($testfile)) { 104 $testfile = trim(fgets(STDIN)); variable 105 if ($testfile != "" && file_exists($testfile)) { 109 unset($testfile); 137 if ($testfile == "") { 139 } elseif (file_put_contents($testfile, $testdata)) { 140 print "Test saved to $testfile\n"; 142 print "The test could not be saved to $testfile; outputting on stderr now\n"; 143 $testfile = ""; variable 146 if ($testfile == "") {
|
/PHP-8.1/ext/phar/tests/ |
H A D | bug79082.phpt | 13 chmod(__DIR__ . '/test79082/test79082-testfile', 0644); 21 var_dump(decoct(stat(__DIR__ . '/test79082-testfile')['mode'])); 23 unlink(__DIR__ . '/test79082-testfile'); 31 var_dump(decoct(stat(__DIR__ . '/test79082-testfile')['mode'])); 33 unlink(__DIR__ . '/test79082-testfile');
|
/PHP-8.1/ext/fileinfo/tests/ |
H A D | finfo_upstream.phpt | 10 $lst = glob(__DIR__ . DIRECTORY_SEPARATOR . "upstream/*.testfile"); 13 $mp = dirname($p) . DIRECTORY_SEPARATOR . basename($p, ".testfile") . ".magic"; 14 $tp = dirname($p) . DIRECTORY_SEPARATOR . basename($p, ".testfile") . ".result";
|
H A D | magic | 13886 # skip cl8m8ocofedso.testfile by looking for face size lower/equal 72
|
H A D | magic私はガラスを食べられます | 13886 # skip cl8m8ocofedso.testfile by looking for face size lower/equal 72
|
/PHP-8.1/ext/bz2/tests/ |
H A D | bug72447.phpt | 10 $fp = fopen('testfile', 'w'); 16 unlink('testfile');
|
/PHP-8.1/ |
H A D | run-tests.php | 160 $test_files, $test_idx, $test_list, $test_results, $testfile, 626 $testfile = realpath($argv[$i]); 628 if (!$testfile && strpos($argv[$i], '*') !== false && function_exists('glob')) { 643 if (is_dir($testfile)) { 644 find_files($testfile); 646 if (substr($testfile, -5) == '.phpt') { 647 $test_files[] = $testfile;
|
/PHP-8.1/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 162 milliseconds