Home
last modified time | relevance | path

Searched refs:testfile (Results 1 – 13 of 13) sorted by relevance

/PHP-8.3/ext/standard/tests/file/
H A Dpathinfo_variation3.phpt9 $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 Dunlink_variation6.phpt11 $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 Dfile_variation9.phpt8 $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 Dcreate-test.php102 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 Dbug79082.phpt13 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 Dfinfo_upstream.phpt10 $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 Dmagic15366 # skip cl8m8ocofedso.testfile by looking for face size lower/equal 72
H A Dmagic私はガラスを食べられます15366 # skip cl8m8ocofedso.testfile by looking for face size lower/equal 72
/PHP-8.3/ext/zend_test/tests/
H A Dgh10370_1.phpt19 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 Dgh10370_3.phpt20 $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 Dbug72447.phpt10 $fp = fopen('testfile', 'w');
16 unlink('testfile');
/PHP-8.3/
H A Drun-tests.php161 $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 Dpear2coverage.phar209 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