/PHP-5.3/ext/phar/tests/ |
H A D | bug45218_SLOWTESTU.phpt | 94 unicode(23) "*bug45218_SLOWTESTU.txt" 96 unicode(23) "*bug45218_SLOWTESTU.txt" 98 unicode(23) "*bug45218_SLOWTESTU.txt" 100 unicode(23) "*bug45218_SLOWTESTU.txt" 102 unicode(23) "*bug45218_SLOWTESTU.txt" 104 unicode(23) "*bug45218_SLOWTESTU.txt" 106 unicode(23) "*bug45218_SLOWTESTU.txt" 108 unicode(23) "*bug45218_SLOWTESTU.txt" 110 unicode(23) "*bug45218_SLOWTESTU.txt" 112 unicode(23) "*bug45218_SLOWTESTU.txt" [all …]
|
H A D | bug45218_SLOWTEST.phpt | 94 string(22) "*bug45218_SLOWTEST.txt" 96 string(22) "*bug45218_SLOWTEST.txt" 98 string(22) "*bug45218_SLOWTEST.txt" 100 string(22) "*bug45218_SLOWTEST.txt" 102 string(22) "*bug45218_SLOWTEST.txt" 104 string(22) "*bug45218_SLOWTEST.txt" 106 string(22) "*bug45218_SLOWTEST.txt" 108 string(22) "*bug45218_SLOWTEST.txt" 110 string(22) "*bug45218_SLOWTEST.txt" 112 string(22) "*bug45218_SLOWTEST.txt" [all …]
|
H A D | phar_buildfromdirectory5.phpt | 13 file_put_contents(dirname(__FILE__)."/testdir/file$i.txt", "some content for file $i"); 18 $a = $phar->buildFromDirectory(dirname(__FILE__) . '/testdir', '/\.txt/'); 34 unlink(dirname(__FILE__) . "/testdir/file$i.txt"); 40 ["file1.txt"]=> 41 string(%d) "%stestdir%cfile1.txt" 42 ["file2.txt"]=> 43 string(%d) "%stestdir%cfile2.txt" 44 ["file3.txt"]=> 45 string(%d) "%stestdir%cfile3.txt" 46 ["file4.txt"]=> [all …]
|
H A D | phar_extract.phpt | 14 $a['file1.txt'] = 'hi'; 15 $a['file2.txt'] = 'hi2'; 16 $a['subdir/ectory/file.txt'] = 'hi3'; 108 @unlink($e . 'file1.txt'); 109 @unlink($e . 'file2.txt'); 110 @unlink($e . 'subdir/ectory/file.txt'); 117 @unlink($e . 'file1.txt'); 123 @unlink($e . 'file2.txt'); 129 %sextract%cfile1.txt 130 %sextract%cfile2.txt [all …]
|
H A D | phar_buildfromdirectory4.phpt | 14 file_put_contents(dirname(__FILE__)."/testdir/file$i.txt", "some content for file $i"); 35 unlink(dirname(__FILE__) . "/testdir/file$i.txt"); 41 ["file1.txt"]=> 42 string(%d) "%stestdir%cfile1.txt" 43 ["file2.txt"]=> 44 string(%d) "%stestdir%cfile2.txt" 45 ["file3.txt"]=> 46 string(%d) "%stestdir%cfile3.txt" 47 ["file4.txt"]=> 48 string(%d) "%stestdir%cfile4.txt"
|
H A D | stat.phpt | 20 var_dump(stat("dir/file1.txt")); 22 var_dump(lstat("dir/file1.txt")); 24 var_dump(fileperms("dir/file1.txt")); 26 var_dump(fileinode("dir/file1.txt")); 28 var_dump(filesize("dir/file1.txt")); 52 var_dump(is_dir("dir/file1.txt")); 54 var_dump(is_file("dir/file1.txt")); 56 var_dump(is_link("dir/file1.txt")); 62 $a['dir/file1.txt'] = 'hi'; 63 $a['dir/file2.txt'] = 'hi2'; [all …]
|
H A D | phar_extract2.phpt | 16 $phar['file1.txt'] = 'hi'; 17 $phar['file2.txt'] = 'hi2'; 18 $phar['subdir/ectory/file.txt'] = 'hi3'; 42 @unlink($dir . 'file1.txt'); 43 @unlink($dir . 'file2.txt'); 44 @unlink($dir . 'subdir/ectory/file.txt'); 54 %sextract%cfile1.txt 55 %sextract%cfile2.txt 59 %sextract%csubdir%cectory%cfile.txt
|
/PHP-5.3/ext/zip/tests/ |
H A D | oo_setcomment.phpt | 21 $zip->addFromString('entry1.txt', 'entry #1'); 22 $zip->addFromString('entry2.txt', 'entry #2'); 24 $zip->addFromString('entry4.txt', 'entry #1'); 28 var_dump($zip->setCommentName('entry1.txt', 'entry1.txt')); 29 var_dump($zip->setCommentName('entry2.txt', 'entry2.txt')); 30 var_dump($zip->setCommentName('dir/entry2d.txt', 'dir/entry2d.txt')); 66 string(10) "entry1.txt" 67 string(10) "entry2.txt" 68 string(15) "dir/entry2d.txt" 69 string(10) "entry4.txt" [all …]
|
H A D | oo_rename.phpt | 21 $zip->addFromString('entry1.txt', 'entry #1'); 22 $zip->addFromString('entry2.txt', 'entry #2'); 39 if (!$zip->renameIndex(0, 'ren_entry1.txt')) { 43 if (!$zip->renameName('dir/entry2.txt', 'dir3/ren_entry2.txt')) { 44 echo "failed name dir/entry2.txt\n"; 52 0 entry1.txt 53 1 entry2.txt 54 2 dir/entry2.txt 56 0 ren_entry1.txt 57 1 entry2.txt [all …]
|
H A D | oo_namelocate.phpt | 21 $zip->addFromString('entry1.txt', 'entry #1'); 22 $zip->addFromString('entry2.txt', 'entry #2'); 23 $zip->addFromString('dir/entry2d.txt', 'entry #2'); 35 var_dump($zip->locateName('entry1.txt')); 36 var_dump($zip->locateName('eNtry2.txt')); 37 var_dump($zip->locateName('eNtry2.txt', ZIPARCHIVE::FL_NOCASE)); 38 var_dump($zip->locateName('enTRy2d.txt', ZIPARCHIVE::FL_NOCASE|ZIPARCHIVE::FL_NODIR));
|
/PHP-5.3/tests/security/ |
H A D | open_basedir_rename.phpt | 11 var_dump(rename("../bad/bad.txt", "rename.txt")); 12 var_dump(rename(".././bad/bad.txt", "rename.txt")); 13 var_dump(rename("../bad/../bad/bad.txt", "rename.txt")); 14 var_dump(rename("./.././bad/bad.txt", "rename.txt")); 15 var_dump(rename($initdir."/test/bad/bad.txt", "rename.txt")); 32 Warning: rename(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allow… 35 Warning: rename(): open_basedir restriction in effect. File(.././bad/bad.txt) is not within the all… 38 Warning: rename(): open_basedir restriction in effect. File(../bad/../bad/bad.txt) is not within th… 41 Warning: rename(): open_basedir restriction in effect. File(./.././bad/bad.txt) is not within the a… 44 Warning: rename(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the …
|
H A D | open_basedir_symlink.phpt | 17 $target = ($initdir."/test/ok/ok.txt"); 18 var_dump(symlink($target, "../bad/symlink.txt")); 19 var_dump(symlink($target, "../symlink.txt")); 21 var_dump(symlink($target, "./.././symlink.txt")); 23 $symlink = ($initdir."/test/ok/symlink.txt"); 24 var_dump(symlink("../bad/bad.txt", $symlink)); 26 var_dump(symlink("../bad/./bad.txt", $symlink)); 27 var_dump(symlink("../bad/bad.txt", $symlink)); 30 $target = ($initdir."/test/ok/ok.txt"); 36 $symlink = ($initdir."/test/ok/ok2/ok.txt"); [all …]
|
H A D | open_basedir_readlink.phpt | 19 $target = ($initdir."/test/bad/bad.txt"); 20 $symlink = ($initdir."/test/ok/symlink.txt"); 25 var_dump(readlink("symlink.txt")); 26 var_dump(readlink("../ok/symlink.txt")); 27 var_dump(readlink("../ok/./symlink.txt")); 28 var_dump(readlink("./symlink.txt")); 29 var_dump(readlink($initdir."/test/ok/symlink.txt")); 31 $target = ($initdir."/test/ok/ok.txt"); 32 $symlink = ($initdir."/test/ok/symlink.txt"); 52 Warning: readlink(): open_basedir restriction in effect. File(symlink.txt) is not within the allowe… [all …]
|
H A D | open_basedir_file_put_contents.phpt | 11 var_dump(file_put_contents("../bad/bad.txt", "Hello World!")); 12 var_dump(file_put_contents(".././bad/bad.txt", "Hello World!")); 13 var_dump(file_put_contents("../bad/../bad/bad.txt", "Hello World!")); 14 var_dump(file_put_contents("./.././bad/bad.txt", "Hello World!")); 15 var_dump(file_put_contents($initdir."/test/bad/bad.txt", "Hello World!")); 32 Warning: file_put_contents(): open_basedir restriction in effect. File(../bad/bad.txt) is not withi… 34 Warning: file_put_contents(../bad/bad.txt): failed to open stream: %s in %s on line %d 39 Warning: file_put_contents(.././bad/bad.txt): failed to open stream: %s in %s on line %d 44 Warning: file_put_contents(../bad/../bad/bad.txt): failed to open stream: %s in %s on line %d 49 Warning: file_put_contents(./.././bad/bad.txt): failed to open stream: %s in %s on line %d [all …]
|
H A D | open_basedir_linkinfo.phpt | 19 $target = ($initdir."/test/bad/bad.txt"); 20 $symlink = ($initdir."/test/ok/symlink.txt"); 25 var_dump(linkinfo("symlink.txt")); 26 var_dump(linkinfo("../ok/symlink.txt")); 27 var_dump(linkinfo("../ok/./symlink.txt")); 28 var_dump(linkinfo("./symlink.txt")); 29 var_dump(linkinfo($initdir."/test/ok/symlink.txt")); 31 $target = ($initdir."/test/ok/ok.txt"); 32 $symlink = ($initdir."/test/ok/symlink.txt"); 57 Warning: symlink(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the… [all …]
|
H A D | open_basedir_copy.phpt | 10 var_dump(copy("ok.txt", "../bad")); 11 var_dump(copy("ok.txt", "../bad/bad.txt")); 12 var_dump(copy("ok.txt", "..")); 13 var_dump(copy("ok.txt", "../")); 14 var_dump(copy("ok.txt", "/")); 15 var_dump(copy("ok.txt", "../bad/.")); 16 var_dump(copy("ok.txt", "../bad/./bad.txt")); 17 var_dump(copy("ok.txt", "./../.")); 19 var_dump(copy("ok.txt", "copy.txt")); 20 var_dump(unlink("copy.txt")); [all …]
|
H A D | open_basedir_link.phpt | 17 $target = ($initdir."/test/ok/ok.txt"); 18 var_dump(link($target, "../bad/link.txt")); 19 var_dump(link($target, "../link.txt")); 20 var_dump(link($target, "../bad/./link.txt")); 21 var_dump(link($target, "./.././link.txt")); 23 $link = ($initdir."/test/ok/link.txt"); 24 var_dump(link("../bad/bad.txt", $link)); 26 var_dump(link("../bad/./bad.txt", $link)); 27 var_dump(link("../bad/bad.txt", $link)); 30 $target = ($initdir."/test/ok/ok.txt"); [all …]
|
H A D | open_basedir_error_log.phpt | 13 var_dump(ini_set("error_log", $initdir."/test/bad/bad.txt")); 14 var_dump(ini_set("error_log", $initdir."/test/bad.txt")); 15 var_dump(ini_set("error_log", $initdir."/bad.txt")); 16 var_dump(ini_set("error_log", $initdir."/test/ok/ok.txt")); 17 var_dump(ini_set("error_log", $initdir."/test/ok/ok.txt")); 34 Warning: ini_set(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the… 37 Warning: ini_set(): open_basedir restriction in effect. File(%s/test/bad.txt) is not within the all… 40 Warning: ini_set(): open_basedir restriction in effect. File(%s/bad.txt) is not within the allowed … 43 string(%d) "%s/test/ok/ok.txt"
|
H A D | open_basedir_unlink.phpt | 11 var_dump(unlink("../bad/bad.txt")); 12 var_dump(unlink(".././bad/bad.txt")); 13 var_dump(unlink("../bad/../bad/bad.txt")); 14 var_dump(unlink("./.././bad/bad.txt")); 15 var_dump(unlink($initdir."/test/bad/bad.txt")); 32 Warning: unlink(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allow… 35 Warning: unlink(): open_basedir restriction in effect. File(.././bad/bad.txt) is not within the all… 38 Warning: unlink(): open_basedir restriction in effect. File(../bad/../bad/bad.txt) is not within th… 41 Warning: unlink(): open_basedir restriction in effect. File(./.././bad/bad.txt) is not within the a… 44 Warning: unlink(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the …
|
/PHP-5.3/ext/curl/tests/ |
H A D | bug27023.phpt | 20 $params = array('file' => '@' . __DIR__ . '/curl_testdata1.txt'); 24 $params = array('file' => '@' . __DIR__ . '/curl_testdata1.txt;type=text/plain'); 28 $params = array('file' => '@' . __DIR__ . '/curl_testdata1.txt;filename=foo.txt'); 32 $params = array('file' => '@' . __DIR__ . '/curl_testdata1.txt;type=text/plain;filename=foo.txt'); 36 $params = array('file' => '@' . __DIR__ . '/curl_testdata1.txt;filename=foo.txt;type=text/plain'); 44 string(%d) "curl_testdata1.txt|application/octet-stream" 45 string(%d) "curl_testdata1.txt|text/plain" 46 string(%d) "foo.txt|application/octet-stream" 47 string(%d) "foo.txt|text/plain" 48 string(%d) "foo.txt|text/plain"
|
/PHP-5.3/ext/bz2/tests/ |
H A D | 002.phpt | 8 @unlink("bz_open_002.txt"); 10 $fp = fopen("bz_open_002.txt", "w"); 13 $fp = fopen("bz_open_002.txt", "r"); 16 @unlink("bz_open_002.txt"); 17 $fp = fopen("bz_open_002.txt", "x"); 20 @unlink("bz_open_002.txt"); 21 $fp = fopen("bz_open_002.txt", "x"); 24 $fp = fopen("bz_open_002.txt", "rb"); 27 $fp = fopen("bz_open_002.txt", "wb"); 36 $fp = fopen("bz_open_002.txt", "r"); [all …]
|
/PHP-5.3/ext/phar/tests/cache_list/files/ |
H A D | write16.phar | 3 var_dump(isset($p["test.txt"])); 4 unset($p["test.txt"]); 5 var_dump(isset($p["test.txt"])); 8 [test.txt���H���E� test2.txt���H���E�<?ph…
|
H A D | write16.phar.inc | 9 var_dump(isset($p["test.txt"])); 10 unset($p["test.txt"]); 11 var_dump(isset($p["test.txt"])); 15 $phar['test.txt'] = "<?php __HALT"."_COMPILER();"; 16 $phar['test2.txt'] = "<?php __HALT"."_COMPILER();";
|
H A D | write19.phar.inc | 9 var_dump($p["test.txt"]->getMetadata()); 10 $p["test.txt"]->setMetadata("hi2"); 11 var_dump($p["test.txt"]->getMetadata()); 15 $phar['test.txt'] = "<?php __HALT"."_COMPILER();"; 16 $phar["test.txt"]->setMetadata("hi");
|
/PHP-5.3/ext/standard/tests/file/ |
H A D | pathinfo_basic2-win32.phpt | 27 'c:afile.txt', 68 string(9) "afile.txt" 69 string(3) "txt" 77 string(3) "txt" 99 string(3) "txt" 107 string(3) "txt" 172 string(3) "txt" 180 string(3) "txt" 186 string(9) "afile.txt" 187 string(3) "txt" [all …]
|