Home
last modified time | relevance | path

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

/PHP-8.0/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";
18 @unlink($testfile);
20 $h = fopen($testfile, "w");
23 var_dump(file($testfile));
24 unlink($testfile);
/PHP-8.0/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.0/ext/phar/tests/
H A Dbug79082.phpt12 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-8.0/ext/bz2/tests/
H A Dbug72447.phpt10 $fp = fopen('testfile', 'w');
16 unlink('testfile');
/PHP-8.0/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);
/PHP-8.0/
H A Drun-tests.php149 $test_files, $test_idx, $test_list, $test_results, $testfile,
659 $testfile = realpath($argv[$i]);
661 if (!$testfile && strpos($argv[$i], '*') !== false && function_exists('glob')) {
676 if (is_dir($testfile)) {
677 find_files($testfile);
679 if (substr($testfile, -5) == '.phpt') {
680 $test_files[] = $testfile;
1086 $testfile = realpath("{$dir}/{$name}");
1087 $test_files[] = $testfile;
/PHP-8.0/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます13371 # skip cl8m8ocofedso.testfile by looking for face size lower/equal 72
H A Dmagic13371 # skip cl8m8ocofedso.testfile by looking for face size lower/equal 72

Completed in 147 milliseconds