Home
last modified time | relevance | path

Searched refs:txt (Results 126 – 150 of 607) sorted by relevance

12345678910>>...25

/php-src/ext/phar/tests/
H A Dbug76584.phpt11 $phar->addFromString('76584.txt', 'This is a test file.');
12 $file = $phar['76584.txt'];
19 echo file_get_contents(__DIR__ . '/76584/76584.txt');
30 unlink(__DIR__ . '/76584/76584.txt');
H A Dphar_extract3.phpt37 @unlink($dir . 'stuff.txt');
38 @unlink($dir . 'nonsense.txt');
43 phar://%sfiles/notbogus.zip%cnonsense.txt
44 phar://%sfiles/notbogus.zip%cstuff.txt
/php-src/ext/phar/tests/cache_list/files/
H A Dwrite13.phar3 var_dump($p["test.txt"]->isCompressed());
6 var_dump($p["test.txt"]->isCompressed());
9 6���������������������test.txt������H������E�������<?php __HALT_COMPILER();Wk�2�O�?�dP݁�E��…
H A Dwrite14.phar3 var_dump($p["test.txt"]->isCompressed());
6 var_dump($p["test.txt"]->isCompressed());
9 6��������������������test.txt������H������E���������/�(P���p� �w��
H A Dwrite13.phar.inc9 var_dump($p["test.txt"]->isCompressed());
12 var_dump($p["test.txt"]->isCompressed());
16 $phar['test.txt'] = "<?php __HALT"."_COMPILER();";
H A Dwrite14.phar.inc9 var_dump($p["test.txt"]->isCompressed());
12 var_dump($p["test.txt"]->isCompressed());
16 $phar['test.txt'] = "<?php __HALT"."_COMPILER();";
/php-src/ext/spl/tests/
H A Dbug65069.phpt15 touch("$dirname/wonder.txt");
18 $spl_glob_it = new \GlobIterator("$dirname/*.txt");
44 unlink("$dirname/wonder.txt");
49 wonder.txt
51 wonder.txt
H A DSplFileInfo_getPerms_basic.phpt19 touch ('SplFileInfo_getPerms_basic.txt');
20 chmod('SplFileInfo_getPerms_basic.txt', 0557);
21 $fileInfo = new SplFileInfo('SplFileInfo_getPerms_basic.txt');
27 unlink('SplFileInfo_getPerms_basic.txt');
H A DSplFileInfo_getInode_basic.phpt19 touch ('SplFileInfo_getInode_basic.txt');
20 $fileInfo = new SplFileInfo('SplFileInfo_getInode_basic.txt');
21 $result = shell_exec('ls -i SplFileInfo_getInode_basic.txt');
27 unlink('SplFileInfo_getInode_basic.txt');
/php-src/tests/security/
H A Dopen_basedir_glob.phpt37 string(6) "ok.txt"
41 string(12) "../ok/ok.txt"
45 string(%d) "%s/test/ok/ok.txt"
49 string(%d) "%s/test/ok/../ok/ok.txt"
H A Dopen_basedir_fopen.phpt12 var_dump(fopen("../bad/bad.txt", "r"));
17 var_dump(fopen("../bad/./bad.txt", "r"));
20 var_dump(fopen($initdir."/test/ok/ok.txt", "r"));
21 var_dump(fopen("./ok.txt", "r"));
22 var_dump(fopen("ok.txt", "r"));
23 var_dump(fopen("../ok/ok.txt", "r"));
24 var_dump(fopen("../ok/./ok.txt", "r"));
46 Warning: fopen(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowe…
48 Warning: fopen(../bad/bad.txt): Failed to open stream: %s in %s on line %d
71 Warning: fopen(): open_basedir restriction in effect. File(../bad/./bad.txt) is not within the allo…
[all …]
H A Dopen_basedir_file.phpt12 var_dump(file("ok.txt"));
13 var_dump(file("../ok/ok.txt"));
14 var_dump(file($initdir."/test/ok/ok.txt"));
15 var_dump(file($initdir."/test/ok/../ok/ok.txt"));
37 Warning: file(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed…
39 Warning: file(../bad/bad.txt): Failed to open stream: %s in %s on line %d
62 Warning: file(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the al…
64 Warning: file(%s/test/bad/bad.txt): Failed to open stream: %s in %s on line %d
67 Warning: file(): open_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within…
69 Warning: file(%s/test/bad/../bad/bad.txt): Failed to open stream: %s in %s on line %d
H A Dopen_basedir_file_get_contents.phpt12 var_dump(file_get_contents("ok.txt"));
13 var_dump(file_get_contents("../ok/ok.txt"));
14 var_dump(file_get_contents($initdir."/test/ok/ok.txt"));
15 var_dump(file_get_contents($initdir."/test/ok/../ok/ok.txt"));
37 Warning: file_get_contents(): open_basedir restriction in effect. File(../bad/bad.txt) is not withi…
39 Warning: file_get_contents(../bad/bad.txt): Failed to open stream: %s in %s on line %d
62 Warning: file_get_contents(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not …
64 Warning: file_get_contents(%s/test/bad/bad.txt): Failed to open stream: %s in %s on line %d
67 Warning: file_get_contents(): open_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) …
69 Warning: file_get_contents(%s/test/bad/../bad/bad.txt): Failed to open stream: %s in %s on line %d
H A Dopen_basedir_is_executable.phpt12 var_dump(is_executable("ok.txt"));
13 var_dump(is_executable("../ok/ok.txt"));
14 var_dump(is_executable($initdir."/test/ok/ok.txt"));
15 var_dump(is_executable($initdir."/test/ok/../ok/ok.txt"));
35 Warning: is_executable(): open_basedir restriction in effect. File(../bad/bad.txt) is not within th…
50 Warning: is_executable(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not with…
53 Warning: is_executable(): open_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is n…
/php-src/ext/phar/tests/zip/
H A Dunixzip.phpt16 if (isset($a['notempty/hi.txt'])) {
17 echo $a['notempty/hi.txt']->getPathName() . "\n";
22 phar://%s/zip.zip%chi.txt
26 phar://%s/zip.zip/notempty%chi.txt
/php-src/ext/curl/tests/
H A Dcurl_copy_handle_variation3.phpt15 $filename = __DIR__ . '/curl_copy_handle_variation3.txt';
31 string(%d) "curl_copy_handle_variation3.txt|application/octet-stream|5"
32 string(%d) "curl_copy_handle_variation3.txt|application/octet-stream|5"
35 @unlink(__DIR__ . '/curl_copy_handle_variation3.txt');
/php-src/ext/standard/tests/file/
H A Dlchown_basic.phpt11 $filename = __DIR__ . DIRECTORY_SEPARATOR . 'lchown_basic.txt';
12 $symlink = __DIR__ . DIRECTORY_SEPARATOR . 'lchown_basic_symlink.txt';
25 $filename = __DIR__ . DIRECTORY_SEPARATOR . 'lchown_basic.txt';
26 $symlink = __DIR__ . DIRECTORY_SEPARATOR . 'lchown_basic_symlink.txt';
/php-src/ext/pdo_firebird/tests/
H A Dbug_47415.phpt17 $dbh->exec('CREATE TABLE test47415 (idx int NOT NULL PRIMARY KEY, txt VARCHAR(20))');
20 $query = "SELECT idx, txt FROM test47415 ORDER by idx";
21 $idx = $txt = 0;
24 $stmt->bindColumn('txt', $txt);
/php-src/ext/spl/tests/SplFileObject/
H A Dfileobject_003.phpt44 test(__DIR__ . '/' . 'fileobject_001a.txt', 't', substr(__DIR__,-1));
55 string(%d) "fileobject_001a.txt"
61 string(%d) "fileobject_001a.txt"
66 %s(%d) "%sfileobject_001a.txt"
67 string(%d) "%sfileobject_001a.txt"
69 string(19) "fileobject_001a.txt"
73 string(%d) "%sfileobject_001a.txt"
74 string(19) "fileobject_001a.txt"
/php-src/ext/session/tests/
H A Drfc1867_sid_invalid.phpt31 Content-Disposition: form-data; name="file1"; filename="file1.txt"
35 Content-Disposition: form-data; name="file2"; filename="file2.txt"
52 @unlink(__DIR__ . DIRECTORY_SEPARATOR . "rfc1867_sid_invalid.post.txt");
72 string(9) "file1.txt"
74 string(9) "file1.txt"
87 string(9) "file2.txt"
89 string(9) "file2.txt"
116 string(9) "file1.txt"
133 string(9) "file2.txt"
/php-src/ext/standard/tests/strings/
H A Dsha1_file.phpt10 if (($handle = fopen( "EmptyFileSHA1.txt", "w+")) == FALSE)
14 if (($handle2 = fopen( "DataFileSHA1.txt", "w+")) == FALSE)
18 $filename = "DataFileSHA1.txt";
55 var_dump( sha1_file("EmptyFileSHA1.txt") );
58 var_dump( bin2hex(sha1_file("EmptyFileSHA1.txt", true)));
61 var_dump( sha1_file("DataFileSHA1.txt") );
64 var_dump ( bin2hex(sha1_file("DataFileSHA1.txt", true)));
67 unlink("DataFileSHA1.txt");
68 unlink("EmptyFileSHA1.txt");
/php-src/ext/zip/tests/
H A Doo_delete.phpt17 $zip->addFromString('entry1.txt', 'entry #1');
18 $zip->addFromString('entry2.txt', 'entry #2');
19 $zip->addFromString('dir/entry2.txt', 'entry #2');
37 if ($zip->deleteName('entry2.txt')) {
43 if ($zip->deleteName('dir/entry2.txt')) {
/php-src/ext/odbc/tests/
H A Dbug73725.phpt14 odbc_do($conn, "CREATE TABLE bug73725(i int, txt varchar(max), k int)");
18 $rc = odbc_do($conn, "SELECT i, txt, k FROM bug73725");
42 ["txt"]=>
50 ["txt"]=>
/php-src/tests/basic/
H A Drfc1867_missing_boundary_2.phpt9 Content-Disposition: form-data; name="file1"; filename="file1.txt"
23 string(9) "file1.txt"
25 string(9) "file1.txt"
/php-src/ext/zlib/tests/
H A Dzlib_scheme_stat_basic.phpt7 $inputFileName = __DIR__."/004.txt.gz";
13 Warning: stat(): stat failed for compress.zlib://%s/004.txt.gz in %s on line %d
15 Warning: lstat(): Lstat failed for compress.zlib://%s/004.txt.gz in %s on line %d

Completed in 23 milliseconds

12345678910>>...25