Home
last modified time | relevance | path

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

12345678910>>...22

/PHP-7.1/ext/standard/tests/file/
H A Dpathinfo_basic2.phpt22 'c:\test\adir\afile..txt',
27 'c:afile.txt',
28 '..\.\..\test\afile.txt',
71 %unicode|string%(3) "txt"
79 %unicode|string%(3) "txt"
101 %unicode|string%(3) "txt"
109 %unicode|string%(3) "txt"
174 %unicode|string%(3) "txt"
182 %unicode|string%(3) "txt"
189 %unicode|string%(3) "txt"
[all …]
H A Dlchgrp_basic.phpt10 $filename = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'lchgrp.txt';
11 $symlink = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'symlink.txt';
25 $filename = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'lchgrp.txt';
26 $symlink = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'symlink.txt';
/PHP-7.1/tests/security/
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"
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
/PHP-7.1/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.1/scripts/dev/
H A Dcheck_parameters.php107 function get_vars($txt) argument
110 …)[^,;]+)?((?:\s*,\s*\**\s*\w+(?:\[\s*\w*\s*\])?\s*(?:=[^,;]+)?)*)\s*;/S', $txt, $m, PREG_SET_ORDER…
192 function check_function($name, $txt, $offset) argument
204 if (preg_match_all($regex, $txt, $matches, PREG_SET_ORDER | PREG_OFFSET_CAPTURE)) {
212 $vars = get_vars(substr($txt, 0, $m[0][1])); // limit var search to current location
313 $txt = file_get_contents($file);
315 $txt = preg_replace('@//.*@S', '', $txt);
316 $txt = preg_replace_callback('@/\*.*\*/@SsU', function($matches) {
318 }, $txt);
320 …$split = preg_split('/PHP_(?:NAMED_)?(?:FUNCTION|METHOD)\s*\((\w+(?:,\s*\w+)?)\)/S', $txt, -1, PRE…
[all …]
/PHP-7.1/ext/zip/tests/
H A Doo_addglob.phpt20 touch($dirname . 'foo.txt');
28 if (!$zip->addGlob($dirname . '*.{txt,baz}', GLOB_BRACE, $options)) {
42 unlink($dirname . 'foo.txt');
49 3 entry1.txt
50 4 baz/foo.txt
H A Dbug70103.phpt12 file_put_contents($dir . '/foo.txt', 'foo');
16 $zip->addGlob($dir . '/*.txt', GLOB_NOSORT, array('remove_all_path' => true));
28 unlink($dir . '/foo.txt');
34 string(7) "foo.txt"
/PHP-7.1/ext/phar/tests/cache_list/
H A Dcopyonwrite4a.phpt11 var_dump(file_exists('phar://' . dirname(__FILE__) . '/files/write4.phar/testit.txt'));
12 Phar::mount('phar://' . dirname(__FILE__) . '/files/write4.phar/testit.txt', 'phar://' . dirname(__…
13 …__) . '/files/write4.phar/testit.txt'), file_get_contents('phar://' . dirname(__FILE__) . '/files/…
/PHP-7.1/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.1/ext/phar/tests/
H A Dphar_offset_check.phpt18 $phar['a.txt'] = "first file\n";
19 $phar['b.txt'] = "second file\n";
28 $phar->offsetGet('.phar/alias.txt');
50 $phar->offsetSet('.phar/alias.txt', 'dolly');
58 $phar->offsetUnset('.phar/alias.txt');
71 Entry .phar/alias.txt does not exist
75 Cannot set alias ".phar/alias.txt" directly in phar "%sphar_offset_check.phar.php", use setAlias
/PHP-7.1/tests/basic/
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 %unicode|string%(9) "file1.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|unicode%(9) "file1.txt"
58 %string|unicode%(9) "file2.txt"
71 %string|unicode%(9) "file3.txt"
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|unicode%(9) "file1.txt"
54 %string|unicode%(9) "file2.txt"
67 %string|unicode%(9) "file3.txt"
/PHP-7.1/ext/pdo_firebird/tests/
H A Dbug_47415.phpt15 $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.1/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();";
/PHP-7.1/ext/spl/tests/
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');
H A Dfileobject_003.phpt44 test(dirname(__FILE__) . '/' . 'fileobject_001a.txt', 't', substr(dirname(__FILE__),-1));
57 string(%d) "fileobject_001a.txt"
63 string(%d) "fileobject_001a.txt"
68 %s(%d) "%sfileobject_001a.txt"
69 string(%d) "%sfileobject_001a.txt"
71 string(19) "fileobject_001a.txt"
75 string(%d) "%sfileobject_001a.txt"
76 string(19) "fileobject_001a.txt"
/PHP-7.1/ext/standard/tests/strings/
H A Dmd5_file.phpt11 if (($handle = fopen( "EmptyFile.txt", "w+")) == FALSE)
15 if (($handle2 = fopen( "DataFile.txt", "w+")) == FALSE)
19 $filename = "DataFile.txt";
51 var_dump ( md5_file("EmptyFile.txt", true, NULL) );
55 var_dump( md5_file("EmptyFile.txt") );
59 var_dump( md5_file("EmptyFile.txt", true) );
63 var_dump( md5_file("DataFile.txt") );
67 var_dump ( md5_file("DataFile.txt", true) );
70 unlink("DataFile.txt");
71 unlink("EmptyFile.txt");

Completed in 69 milliseconds

12345678910>>...22