Searched refs:testfile (Results 1 – 13 of 13) sorted by relevance
/PHP-8.3/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"; 19 $h = fopen($testfile, "w"); 22 var_dump(file($testfile)); 23 unlink($testfile); 30 $testfile = __DIR__."/fileVar9.txt"; 31 @unlink($testfile);
|
/PHP-8.3/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.3/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.3/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 | 15366 # skip cl8m8ocofedso.testfile by looking for face size lower/equal 72
|
H A D | magic私はガラスを食べられます | 15366 # skip cl8m8ocofedso.testfile by looking for face size lower/equal 72
|
/PHP-8.3/ext/zend_test/tests/ |
H A D | gh10370_1.phpt | 19 var_dump($archive->extractTo(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370_001', ['testfile'])); 20 var_dump(sha1_file(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370_001' . DIRECTORY_SEPARATOR . 'testfile'… 27 @unlink(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370_001' . DIRECTORY_SEPARATOR . 'testfile');
|
H A D | gh10370_3.phpt | 20 $output = fopen(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370_003' . DIRECTORY_SEPARATOR . 'testfile', '… 27 var_dump(sha1_file(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370_003' . DIRECTORY_SEPARATOR . 'testfile'… 34 @unlink(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370_003' . DIRECTORY_SEPARATOR . 'testfile');
|
/PHP-8.3/ext/bz2/tests/ |
H A D | bug72447.phpt | 10 $fp = fopen('testfile', 'w'); 16 unlink('testfile');
|
/PHP-8.3/ |
H A D | run-tests.php | 161 $test_files, $test_idx, $test_list, $test_results, $testfile, 630 $testfile = realpath($argv[$i]); 632 if (!$testfile && strpos($argv[$i], '*') !== false && function_exists('glob')) { 644 } elseif (is_dir($testfile)) { 645 find_files($testfile); 646 } elseif (substr($testfile, -5) == '.phpt') { 647 $test_files[] = $testfile;
|
/PHP-8.3/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 181 milliseconds