Home
last modified time | relevance | path

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

/PHP-5.3/ext/standard/tests/file/
H A Dpathinfo_variation3.phpt15 $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 Dunlink_variation6.phpt17 $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 Dfile_variation9.phpt14 $testfile = dirname(__FILE__)."/fileVar9.txt";
24 @unlink($testfile);
26 $h = fopen($testfile, "w");
29 var_dump(file($testfile));
30 unlink($testfile);
/PHP-5.3/ext/bz2/tests/
H A Dwith_files.phpt10 $filename = "testfile.bz2";
H A Dbug51997.phpt10 $filename = "testfile.bz2";
/PHP-5.3/ext/phar/tests/files/
H A Dpear2coverage.phar.php209 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-5.3/
H A Dserver-tests.php861 $testfile = realpath("$dir/$name");
862 $this->test_files[] = $testfile;
1107 function getENVSettings(&$section_text,$testfile) argument
1113 $sect = $this->evalSettings($testfile,$section_text['ENV']);
1120 function getEvalTestSettings($section_text,$testfile) argument
1126 $sect = $this->evalSettings($testfile,$section_text);
H A Drun-tests.php732 $testfile = realpath($argv[$i]); variable
734 if (!$testfile && strpos($argv[$i], '*') !== false && function_exists('glob')) {
748 } else if (is_dir($testfile)) {
749 find_files($testfile);
750 } else if (preg_match("/\.phpt$/", $testfile)) {
751 $test_files[] = $testfile;
882 $testfile = realpath("{$dir}/{$name}");
883 $test_files[] = $testfile;

Completed in 46 milliseconds