Home
last modified time | relevance | path

Searched refs:txt (Results 26 – 50 of 548) sorted by relevance

12345678910>>...22

/PHP-7.1/ext/phar/tests/
H A Dphar_extract2.phpt16 $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 %sextract2%cfile1.txt
55 %sextract2%cfile2.txt
59 %sextract2%csubdir%cectory%cfile.txt
H A Dbug65414.phpt11 '.phar/injected-1.txt',
12 '/.phar/injected-2.txt',
13 '//.phar/injected-3.txt',
32 .phar/injected-1.txt:Cannot create any files in magic ".phar" directory
33 /.phar/injected-2.txt:Cannot create any files in magic ".phar" directory
34 ….phar/injected-3.txt:Entry //.phar/injected-3.txt does not exist and cannot be created: phar error…
/PHP-7.1/ext/phar/tests/tar/
H A Dbug71317-duplicate-filename.phpt16 $tar->addFile('file1.txt', 'file1');
17 $tar->addFile('file2.txt', 'file2');
18 $tar->addFile('file3.txt', 'file3');
19 $tar->addFile('file4.txt', 'file4');
20 $tar->addFile('file5.txt', 'file5');
21 $tar->addFile('file2.txt', 'file2a');
30 $fileContent = file_get_contents($testDirectory . '/file2.txt');
33 …throw new Exception(sprintf('Contents of file2.txt ("%s") is invalid, expected "%s"', $fileContent…
46 array_map('unlink', glob($testDirectory . "/*.txt"));
/PHP-7.1/tests/security/
H A Dopen_basedir_error_log.phpt13 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 Dopen_basedir_unlink.phpt11 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 …
H A Dopen_basedir_error_log_variation.phpt13 var_dump(error_log("Hello World!", DESTINATION_IS_FILE, $initdir."/test/bad/bad.txt"));
14 var_dump(error_log("Hello World!", DESTINATION_IS_FILE, $initdir."/test/bad.txt"));
15 var_dump(error_log("Hello World!", DESTINATION_IS_FILE, $initdir."/bad.txt"));
16 var_dump(error_log("Hello World!", DESTINATION_IS_FILE, $initdir."/test/ok/ok.txt"));
33 Warning: error_log(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within t…
35 Warning: error_log(%s/test/bad/bad.txt): failed to open stream: %s in %s on line %d
38 Warning: error_log(): open_basedir restriction in effect. File(%s/test/bad.txt) is not within the a…
40 Warning: error_log(%s/test/bad.txt): failed to open stream: %s in %s on line %d
43 Warning: error_log(): open_basedir restriction in effect. File(%s/bad.txt) is not within the allowe…
45 Warning: error_log(%s/bad.txt): failed to open stream: %s in %s on line %d
/PHP-7.1/ext/standard/tests/file/
H A Dpathinfo_basic2-win32.phpt27 'c:afile.txt',
68 string(9) "afile.txt"
69 string(3) "txt"
77 string(3) "txt"
99 string(3) "txt"
107 string(3) "txt"
171 string(9) "afile.txt"
172 string(3) "txt"
180 string(3) "txt"
187 string(3) "txt"
[all …]
/PHP-7.1/ext/zip/tests/
H A Doo_namelocate.phpt21 $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));
H A Doo_getnameindex.phpt21 $zip->addFromString('entry1.txt', 'entry #1');
22 $zip->addFromString('entry2.txt', 'entry #2');
23 $zip->addFromString('dir/entry2d.txt', 'entry #2');
44 string(10) "entry1.txt"
45 string(10) "entry2.txt"
46 string(15) "dir/entry2d.txt"
H A Doo_externalattributes.phpt16 $zip->addFromString('foo.txt', 'foo');
17 $zip->addFromString('bar.txt', 'bar');
18 var_dump($zip->setExternalAttributesName('foo.txt', ZipArchive::OPSYS_UNIX, 123));
19 $id = $zip->locateName('bar.txt');
25 var_dump($zip->getExternalAttributesName('foo.txt', $a, $b), $a, $b);
26 $id = $zip->locateName('bar.txt');
30 var_dump($zip->setExternalAttributesName('foo.txt', ZipArchive::OPSYS_DOS, 345));
33 var_dump($zip->getExternalAttributesName('foo.txt', $a, $b), $a, $b);
36 var_dump($zip->getExternalAttributesName('foo.txt', $a, $b, ZipArchive::FL_UNCHANGED), $a, $b);
/PHP-7.1/ext/phar/tests/cache_list/files/
H A Dwrite16.phar.inc9 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 Dwrite.phar.inc9 echo $phar["test.txt"]->getContent();
10 $phar["test.txt"] = "changed
12 echo $phar["test.txt"]->getContent();
17 $phar['test.txt'] = "hi
19 $phar['test.txt']->setMetadata('hi');
H A Dwrite19.phar.inc9 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");
H A Dwrite20.phar.inc9 var_dump($p["test.txt"]->getMetadata());
10 $p["test.txt"]->delMetadata();
11 var_dump($p["test.txt"]->getMetadata());
15 $phar['test.txt'] = "<?php __HALT"."_COMPILER();";
16 $phar["test.txt"]->setMetadata("hi");
H A Dwrite22.phar.inc9 var_dump($p["test.txt"]->isCompressed());
10 $p["test.txt"]->decompress();
11 var_dump($p["test.txt"]->isCompressed());
15 $phar['test.txt'] = "<?php __HALT"."_COMPILER();";
16 $phar['test.txt']->compress(Phar::GZ);
H A Dwrite18.phar.inc9 echo decoct(fileperms("phar://" . __FILE__ . "/test.txt")),"\n";
10 $p["test.txt"]->chmod(0444);
11 echo decoct(fileperms("phar://" . __FILE__ . "/test.txt")),"\n";
15 $phar['test.txt'] = "<?php __HALT"."_COMPILER();";
16 $phar["test.txt"]->chmod(0666);
H A Dwrite22.phar3 var_dump($p["test.txt"]->isCompressed());
4 $p["test.txt"]->decompress();
5 var_dump($p["test.txt"]->isCompressed());
8 6��������������������test.txt������H������E���������/�(P���p� �w��
H A Dwrite21.phar3 var_dump($p["test.txt"]->isCompressed());
4 $p["test.txt"]->compress(Phar::GZ);
5 var_dump($p["test.txt"]->isCompressed());
8 6���������������������test.txt���{��H������E�������<?php __HALT_COMPILER();u:ΰ�U��|ZM�̧�Є�…
H A Dwrite4.phar2 var_dump(file_exists("phar://" . __FILE__ . "/test.txt"));
4 Phar::mount("test.txt", "phar://" . __FILE__ . "/tobemounted");
5 …dump(file_exists("phar://" . __FILE__ . "/test.txt"), file_get_contents("phar://" . __FILE__ . "/t…
H A Dwrite7.phar3 var_dump(file_exists("phar://" . __FILE__ . "/test.txt"));
4 $p->delete("test.txt");
6 var_dump(file_exists("phar://" . __FILE__ . "/test.txt"));
9 6���������������������test.txt������H���zzo�������hi
H A Dwrite19.phar3 var_dump($p["test.txt"]->getMetadata());
4 $p["test.txt"]->setMetadata("hi2");
5 var_dump($p["test.txt"]->getMetadata());
8 ?���������������������test.txt�����H������E��� ���s:2:"hi";<?php __HALT_COMPILER();�� ���ο_…
H A Dwrite20.phar3 var_dump($p["test.txt"]->getMetadata());
4 $p["test.txt"]->delMetadata();
5 var_dump($p["test.txt"]->getMetadata());
8 ?���������������������test.txt���K��H������E��� ���s:2:"hi";<?php __HALT_COMPILER();3��+�%Ls…
/PHP-7.1/ext/pcre/tests/
H A D007.phpt13 global $txt;
14 $txt[3] = "\xFF";
19 $txt = "ola123";
20 var_dump(preg_replace_callback('#.#u', 'evil', $txt));
21 var_dump($txt);
24 var_dump(preg_replace_callback('#.#u', 'evil', $txt));
/PHP-7.1/ext/pdo/tests/
H A Dpdo_016.phpt41 $stmt2->bindColumn('txt', $txt);
45 var_dump(array($idx=>$txt));
50 $stmt3 = $db->prepare('SELECT txt FROM test WHERE idx=:inp');
53 $stmt4 = $db->prepare('SELECT idx FROM test WHERE txt=:txt');
54 $stmt4->bindParam(':txt', $txt); /* using same name */
56 foreach($cont as $idx => $txt)
58 var_dump(array($idx=>$txt));
64 $stmt3->bindColumn('txt', $col1);
84 foreach($cont as $idx => $txt)
86 var_dump(array($idx=>$txt));
[all …]
H A Dpdo_016a.phpt41 $stmt2->bindColumn('txt', $txt);
45 var_dump(array($idx=>$txt));
50 $stmt3 = $db->prepare('SELECT txt FROM test WHERE idx=:inp');
53 $stmt4 = $db->prepare('SELECT idx FROM test WHERE txt=:txt');
54 $stmt4->bindParam('txt', $txt); /* using same name */
56 foreach($cont as $idx => $txt)
58 var_dump(array($idx=>$txt));
64 $stmt3->bindColumn('txt', $col1);
84 foreach($cont as $idx => $txt)
86 var_dump(array($idx=>$txt));
[all …]

Completed in 55 milliseconds

12345678910>>...22