Home
last modified time | relevance | path

Searched refs:txt (Results 76 – 100 of 527) sorted by relevance

12345678910>>...22

/PHP-7.4/tests/basic/
H A Drfc1867_post_max_filesize.phpt10 Content-Disposition: form-data; name="file1"; filename="file1.txt"
15 Content-Disposition: form-data; name="file2"; filename="file2.txt"
20 Content-Disposition: form-data; name="file3"; filename="file3.txt"
41 string(9) "file1.txt"
54 string(9) "file2.txt"
67 string(9) "file3.txt"
H A Drfc1867_max_file_size.phpt14 Content-Disposition: form-data; name="file1"; filename="file1.txt"
19 Content-Disposition: form-data; name="file2"; filename="file2.txt"
24 Content-Disposition: form-data; name="file3"; filename="C:\foo\bar/file3.txt"
45 string(9) "file1.txt"
58 string(9) "file2.txt"
71 string(9) "file3.txt"
H A Dbug55500.phpt11 Content-Disposition: form-data; name="file[]"; filename="file1.txt"
16 Content-Disposition: form-data; name="file[[type]"; filename="file2.txt"
21 Content-Disposition: form-data; name="file[[name]"; filename="file3.txt"
26 Content-Disposition: form-data; name="file[name]["; filename="file4.txt"
43 string(9) "file1.txt"
H A Drfc1867_anonymous_upload.phpt10 Content-Disposition: form-data; filename="file1.txt"
15 Content-Disposition: form-data; filename="file2.txt"
30 string(9) "file1.txt"
43 string(9) "file2.txt"
/PHP-7.4/ext/spl/tests/
H A DSplFileInfo_getExtension_basic.phpt6 $exts = array('.txt', '.extension', '..', '.', '');
16 $exts = array('.txt', '.extension', '..', '.', '');
22 string(3) "txt"
23 string(3) "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-7.4/ext/standard/tests/file/windows_mb_path/
H A Dtest_readdir_mb_names.phpt22 create_verify_file($prefix, "Röd_Statistics.txt", $content);
23 create_verify_file($prefix, "š.txt", "");
26 create_verify_file($prefix, "Ελλάδα.txt", "");
30 create_verify_file($prefix, "żółć.txt", $content);
64 filename: Röd_Statistics.txt : filetype: file
70 filename: š.txt : filetype: file
72 filename: żółć.txt : filetype: file
73 filename: Ελλάδα.txt : filetype: file
H A Dtest_rename_mb_names.phpt26 $fw_orig = $prefix . DIRECTORY_SEPARATOR . "Ελλάδα.txt";
30 $fw_copied = $prefix . DIRECTORY_SEPARATOR . "Ελλάδα_copy.txt";
33 $fw_renamed = $prefix . DIRECTORY_SEPARATOR . "測試多字節路徑17.txt";
64 string(21) "Ελλάδα_copy.txt"
67 string(27) "測試多字節路徑17.txt"
/PHP-7.4/ext/pdo_firebird/tests/
H A Dbug_47415.phpt14 $dbh->exec('CREATE TABLE testz (idx int NOT NULL PRIMARY KEY, txt VARCHAR(20))');
19 $query = "SELECT idx, txt FROM testz ORDER by idx";
20 $idx = $txt = 0;
23 $stmt->bindColumn('txt', $txt);
/PHP-7.4/sapi/cli/tests/
H A D010.phpt16 $filename_txt = __DIR__."/010.test.txt";
26 $txt = '
30 file_put_contents($filename_txt, $txt);
39 @unlink(__DIR__."/010.test.txt");
/PHP-7.4/tests/security/
H A Dopen_basedir_touch.phpt12 var_dump(touch("../bad/bad.txt"));
17 var_dump(touch("../bad/./bad.txt"));
20 var_dump(touch($initdir."/test/ok/ok.txt"));
21 var_dump(touch("./ok.txt"));
22 var_dump(touch("ok.txt"));
23 var_dump(touch("../ok/ok.txt"));
24 var_dump(touch("../ok/./ok.txt"));
44 Warning: touch(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowe…
59 Warning: touch(): open_basedir restriction in effect. File(../bad/./bad.txt) is not within the allo…
H A Dopen_basedir.inc67 file_put_contents($directory."/test/ok/ok.txt", "Hello World!");
79 var_dump($function("../bad/bad.txt"));
85 var_dump($function($directory."/test/bad/bad.txt"));
86 var_dump($function($directory."/test/bad/../bad/bad.txt"));
116 var_dump(is_array($function("ok.txt")));
117 var_dump(is_array($function("../ok/ok.txt")));
119 var_dump(is_array($function($directory."/test/ok/ok.txt")));
130 var_dump($function("ok.txt"));
131 var_dump($function("../ok/ok.txt"));
133 var_dump($function($directory."/test/ok/ok.txt"));
[all …]
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"
/PHP-7.4/ext/zip/tests/
H A Dbug77978.phpt16 $zip->addFromString("dir/test:/filename.txt", "contents");
21 @$zip->extractTo($target, "dir/test:/filename.txt");
24 var_dump(!file_exists("$target/filename.txt"));
25 var_dump(PHP_OS_FAMILY === "Windows" || file_exists("$target/dir/test:/filename.txt"));
33 @unlink(__DIR__ . "/bug77978/dir/test:/filename.txt");
/PHP-7.4/ext/phar/tests/
H A Dfgc_edgecases.phpt20 file_put_contents("fgc_edgecases.txt", "test\n");
29 echo file_get_contents("fgc_edgecases.txt");
31 echo file_get_contents("fgc_edgecases.txt", true);
46 <?php unlink(__DIR__ . '/fgc_edgecases.txt'); ?>
54 echo file_get_contents("fgc_edgecases.txt");
56 echo file_get_contents("fgc_edgecases.txt", true);
71 echo file_get_contents("fgc_edgecases.txt");
73 echo file_get_contents("fgc_edgecases.txt", true);
88 echo file_get_contents("fgc_edgecases.txt");
90 echo file_get_contents("fgc_edgecases.txt", true);
H A Dphar_offset_check.phpt17 $phar['a.txt'] = "first file\n";
18 $phar['b.txt'] = "second file\n";
27 $phar->offsetGet('.phar/alias.txt');
49 $phar->offsetSet('.phar/alias.txt', 'dolly');
57 $phar->offsetUnset('.phar/alias.txt');
70 Entry .phar/alias.txt does not exist
74 Cannot set alias ".phar/alias.txt" directly in phar "%sphar_offset_check.phar.php", use setAlias
/PHP-7.4/Zend/tests/
H A Dbug78396.phpt7 file_put_contents(__DIR__ . '/bug78396.txt', '1', FILE_APPEND | LOCK_EX);
8 file_put_contents(__DIR__ . '/bug78396.txt', '2', FILE_APPEND | LOCK_EX);
15 unlink(__DIR__ . '/bug78396.txt');
/PHP-7.4/ext/phar/tests/cache_list/
H A Dcopyonwrite4a.phpt11 var_dump(file_exists('phar://' . __DIR__ . '/files/write4.phar/testit.txt'));
12 Phar::mount('phar://' . __DIR__ . '/files/write4.phar/testit.txt', 'phar://' . __DIR__ . '/files/wr…
13 … __DIR__ . '/files/write4.phar/testit.txt'), file_get_contents('phar://' . __DIR__ . '/files/write…
/PHP-7.4/ext/sqlite3/tests/
H A Dsqlite3_22_loadextension.phpt21 touch($directory . '/myext.txt');
23 var_dump($db->loadExtension('myext.txt'));
25 unlink($directory . '/myext.txt');
30 Warning: SQLite3::loadExtension(): Unable to load extension at '.%emyext.txt' in %s on line %d
/PHP-7.4/scripts/dev/
H A Dcheck_parameters.php105 function get_vars($txt) argument
108 …)[^,;]+)?((?:\s*,\s*\**\s*\w+(?:\[\s*\w*\s*\])?\s*(?:=[^,;]+)?)*)\s*;/S', $txt, $m, PREG_SET_ORDER…
190 function check_function($name, $txt, $offset) argument
202 if (preg_match_all($regex, $txt, $matches, PREG_SET_ORDER | PREG_OFFSET_CAPTURE)) {
210 $vars = get_vars(substr($txt, 0, $m[0][1])); // limit var search to current location
311 $txt = file_get_contents($file);
313 $txt = preg_replace('@//.*@S', '', $txt);
314 $txt = preg_replace_callback('@/\*.*\*/@SsU', function($matches) {
316 }, $txt);
318 …$split = preg_split('/PHP_(?:NAMED_)?(?:FUNCTION|METHOD)\s*\((\w+(?:,\s*\w+)?)\)/S', $txt, -1, PRE…
[all …]
/PHP-7.4/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��
/PHP-7.4/ext/standard/tests/file/
H A Dlchgrp_basic.phpt10 $filename = __DIR__ . DIRECTORY_SEPARATOR . 'lchgrp.txt';
11 $symlink = __DIR__ . DIRECTORY_SEPARATOR . 'symlink.txt';
25 $filename = __DIR__ . DIRECTORY_SEPARATOR . 'lchgrp.txt';
26 $symlink = __DIR__ . DIRECTORY_SEPARATOR . 'symlink.txt';
/PHP-7.4/ext/phar/tests/zip/
H A Dunixzip.phpt16 if (isset($a['notempty/hi.txt'])) {
17 echo $a['notempty/hi.txt']->getPathName() . "\n";
23 phar://%s/zip.zip%chi.txt
27 phar://%s/zip.zip/notempty%chi.txt

Completed in 54 milliseconds

12345678910>>...22