Home
last modified time | relevance | path

Searched refs:files (Results 1 – 25 of 792) sorted by relevance

12345678910>>...32

/php-src/.github/
H A Dlabeler.yml2 - changed-files:
7 - changed-files:
12 - changed-files:
24 - changed-files:
29 - changed-files:
34 - changed-files:
39 - changed-files:
44 - changed-files:
49 - changed-files:
54 - changed-files:
[all …]
/php-src/ext/standard/tests/file/
H A Dfseek_dir_basic.phpt15 $files = array();
16 while( FALSE !== ($files[] = readdir($dh)) ) {}
17 sort($files);
18 var_dump($files);
19 $files = array();
25 while( FALSE !== ($files[] = readdir($dh)) ) {}
26 sort($files);
27 var_dump($files);
28 $files = array();
35 sort($files);
[all …]
/php-src/ext/phar/tests/cache_list/files/
H A Dphar_oo_test.inc9 $files = array();
17 $files['a.php'] = '<?php echo "This is a.php\n"; ?>';
18 $files['b.php'] = '<?php echo "This is b.php\n"; ?>';
19 $files['b/c.php'] = '<?php echo "This is b/c.php\n"; ?>';
20 $files['b/d.php'] = '<?php echo "This is b/d.php\n"; ?>';
21 $files['e.php'] = '<?php echo "This is e.php\n"; ?>';
24 $files['a.csv'] =<<<EOF
31 $files['a.csv'] =<<<EOF
42 $files['a.php'] = '<?php echo new new class;';
/php-src/ext/phar/tests/files/
H A Dphar_oo_test.inc10 $files = array();
18 $files['a.php'] = '<?php echo "This is a.php\n"; ?>';
19 $files['b.php'] = '<?php echo "This is b.php\n"; ?>';
20 $files['b/c.php'] = '<?php echo "This is b/c.php\n"; ?>';
21 $files['b/d.php'] = '<?php echo "This is b/d.php\n"; ?>';
22 $files['e.php'] = '<?php echo "This is e.php\n"; ?>';
25 $files['a.csv'] =<<<EOF
32 $files['a.csv'] =<<<EOF
43 $files['a.php'] = '<?php echo new new class;';
/php-src/ext/phar/tests/
H A Dmetadata_read.phpt13 $files = array();
14 $files['a'] = array('cont' => 'a');
15 $files['b'] = array('cont' => 'b', 'meta' => 'hi there');
16 $files['c'] = array('cont' => 'c', 'meta' => array('hi', 'there'));
17 $files['d'] = array('cont' => 'd', 'meta' => array('hi'=>'there','foo'=>'bar'));
18 include 'files/phar_test.inc';
20 foreach($files as $name => $cont) {
25 foreach($files as $name => $cont) {
31 foreach($files as $name => $cont) {
H A Dmetadata_write_commit.phpt14 $files = array();
15 $files['a'] = array('cont' => 'a');
16 $files['b'] = array('cont' => 'b', 'meta' => 'hi there');
17 $files['c'] = array('cont' => 'c', 'meta' => array('hi', 'there'));
18 $files['d'] = array('cont' => 'd', 'meta' => array('hi'=>'there','foo'=>'bar'));
19 include 'files/phar_test.inc';
21 foreach($files as $name => $cont) {
32 foreach($files as $name => $cont) {
41 foreach($files as $name => $cont) {
45 foreach($files as $name => $cont) {
H A Dmetadata_write.phpt14 $files = array();
15 $files['a'] = array('cont' => 'a');
16 $files['b'] = array('cont' => 'b', 'meta' => 'hi there');
17 $files['c'] = array('cont' => 'c', 'meta' => array('hi', 'there'));
18 $files['d'] = array('cont' => 'd', 'meta' => array('hi'=>'there','foo'=>'bar'));
19 include 'files/phar_test.inc';
21 foreach($files as $name => $cont) {
31 foreach($files as $name => $cont) {
37 foreach($files as $name => $cont) {
H A D030.phpt13 $files = array();
14 $files['a.php'] = '<?php echo "This is a\n"; include \''.$pname.'/b.php\'; ?>';
15 $files['b.php'] = '<?php echo "This is b\n"; include \''.$pname.'/b/c.php\'; ?>';
16 $files['b/c.php'] = '<?php echo "This is b/c\n"; include \''.$pname.'/b/d.php\'; ?>';
17 $files['b/d.php'] = '<?php echo "This is b/d\n"; include \''.$pname.'/e.php\'; ?>';
18 $files['e.php'] = '<?php echo "This is e\n"; ?>';
19 $files['.phar/test'] = '<?php bad boy ?>';
21 include 'files/phar_test.inc';
46 Cannot directly get any files or directories in magic ".phar" directory
H A Dphar_metadata_write.phpt14 $files = array();
15 $files['a'] = array('cont' => 'a');
16 $files['b'] = array('cont' => 'b', 'meta' => 'hi there');
17 $files['c'] = array('cont' => 'c', 'meta' => array('hi', 'there'));
18 $files['d'] = array('cont' => 'd', 'meta' => array('hi'=>'there','foo'=>'bar'));
19 include 'files/phar_test.inc';
21 foreach($files as $name => $cont) {
35 foreach($files as $name => $cont) {
41 foreach($files as $name => $cont) {
H A D019.phpt16 $files = array();
17 $files['a'] = 'a';
18 $files['b/a'] = 'b';
19 $files['b/c/d'] = 'c';
20 $files['bad/c'] = 'd';
22 include 'files/phar_test.inc';
H A D026.phpt13 $files = array();
14 $files['a.php'] = '<?php echo "This is a\n"; require \''.$pname.'/b.php\'; ?>';
15 $files['b.php'] = '<?php echo "This is b\n"; require \''.$pname.'/b/c.php\'; ?>';
16 $files['b/c.php'] = '<?php echo "This is b/c\n"; require \''.$pname.'/b/d.php\'; ?>';
17 $files['b/d.php'] = '<?php echo "This is b/d\n"; require \''.$pname.'/e.php\'; ?>';
18 $files['e.php'] = '<?php echo "This is e\n"; ?>';
20 include 'files/phar_test.inc';
H A Dtest_signaturealgos.phpt15 $a = new Phar(__DIR__ . '/files/sha1.phar');
18 $a = new Phar(__DIR__ . '/files/sha512.phar');
21 $a = new Phar(__DIR__ . '/files/sha256.phar');
24 $a = new Phar(__DIR__ . '/files/md5.phar');
27 $a = new Phar(__DIR__ . '/files/openssl.phar');
30 $a = new Phar(__DIR__ . '/files/openssl256.phar');
33 $a = new Phar(__DIR__ . '/files/openssl512.phar');
H A Dphar_oo_getmodified.phpt15 $files = array();
16 $files['a'] = 'a';
17 $files['b'] = 'b';
18 $files['c'] = 'c';
20 include 'files/phar_test.inc';
H A Dphar_metadata_read.phpt14 $files = array();
16 $files['a'] = array('cont' => 'a');
17 $files['b'] = array('cont' => 'b');
18 $files['c'] = array('cont' => 'c', 'meta' => array('hi', 'there'));
19 $files['d'] = array('cont' => 'd', 'meta' => array('hi'=>'there','foo'=>'bar'));
20 include 'files/phar_test.inc';
22 foreach($files as $name => $cont) {
33 foreach($files as $name => $cont) {
43 foreach($files as $name => $cont) {
H A Dphar_setalias.phpt14 $files = array();
15 $files['a'] = 'a';
16 $files['b'] = 'b';
17 $files['c'] = 'c';
19 include 'files/phar_test.inc';
H A D016.phpt15 $files = array();
17 $files['a'] = array('cont'=>'a','comp'=> pack('H*', 'cbc80400'),'flags'=>0x00001000, 'ulen' => 1, '…
18 $files['b'] = $files['a'];
19 $files['c'] = array('cont'=>'*');
20 $files['d'] = $files['a'];
21 include 'files/phar_test.inc';
H A D028.phpt14 $files = array();
15 $files['a.php'] = '<?php echo "This is a\n"; include "'.$pname.'/b.php"; ?>';
16 $files['b.php'] = '<?php echo "This is b\n"; include "'.$pname.'/b/c.php"; ?>';
17 $files['b/c.php'] = '<?php echo "This is b/c\n"; include "'.$pname.'/b/d.php"; ?>';
18 $files['b/d.php'] = '<?php echo "This is b/d\n"; include "'.$pname.'/e.php"; ?>';
19 $files['e.php'] = '<?php echo "This is e\n"; ?>';
21 include 'files/phar_test.inc';
/php-src/ext/phar/tests/zip/
H A Dmetadata_write_commit.phpt11 $f2name = __DIR__ . '/files/metadata.phar.zip';
17 $files = array();
18 $files['a'] = array('cont' => 'a');
19 $files['b'] = array('cont' => 'b', 'meta' => 'hi there');
20 $files['c'] = array('cont' => 'c', 'meta' => array('hi', 'there'));
21 $files['d'] = array('cont' => 'd', 'meta' => array('hi'=>'there','foo'=>'bar'));
23 foreach($files as $name => $cont) {
36 foreach($files as $name => $cont) {
45 foreach($files as $name => $cont) {
49 foreach($files as $name => $cont) {
H A Dcorrupt_008.phpt8 new PharData(__DIR__ . '/files/compress_unsup1.zip');
13 new PharData(__DIR__ . '/files/compress_unsup2.zip');
18 new PharData(__DIR__ . '/files/compress_unsup3.zip');
23 new PharData(__DIR__ . '/files/compress_unsup4.zip');
28 new PharData(__DIR__ . '/files/compress_unsup5.zip');
33 new PharData(__DIR__ . '/files/compress_unsup6.zip');
38 new PharData(__DIR__ . '/files/compress_unsup7.zip');
43 new PharData(__DIR__ . '/files/compress_unsup9.zip');
48 new PharData(__DIR__ . '/files/compress_unsup10.zip');
53 new PharData(__DIR__ . '/files/compress_unsup14.zip');
[all …]
/php-src/ext/phar/tests/tar/
H A Dlinks6.phpt2 Phar: test nested linked files
9 echo file_get_contents('phar://' . __DIR__ . '/files/links.phar.tar/link2');
10 echo file_get_contents('phar://' . __DIR__ . '/files/links.phar.tar/link1');
11 echo file_get_contents('phar://' . __DIR__ . '/files/links.phar.tar/testit.txt');
13 $a = fopen('phar://' . __DIR__ . '/files/links.phar.tar/link2', 'r');
/php-src/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 …(file_exists('phar://' . __DIR__ . '/files/write4.phar/testit.txt'), file_get_contents('phar://' .…
/php-src/ext/standard/tests/dir/
H A Dscandir_variation10.phpt19 // create directory and files
29 $files = scandir($dir, SCANDIR_SORT_NONE);
30 var_dump(count($files));
31 var_dump(in_array('.', $files));
32 var_dump(in_array('..', $files));
33 var_dump(in_array('file1.tmp', $files));
34 var_dump(in_array('file2.tmp', $files));
H A Dscandir_variation10-win32-mb.phpt25 // create directory and files
35 $files = scandir($dir, SCANDIR_SORT_NONE);
36 var_dump(count($files));
37 var_dump(in_array('.', $files));
38 var_dump(in_array('..', $files));
39 var_dump(in_array('私はガラスを食べられますfile1.tmp', $files));
40 var_dump(in_array('私はガラスを食べられますfile2.tmp', $files));
/php-src/ext/standard/tests/general_functions/
H A Dget_included_files.phpt11 echo "\n-- List included files at start --\n";
15 echo "\n-- List included files atfter including inc1 -\n";
19 echo "\n-- List included files atfter including inc2 which will include inc3 which includes inc1 --…
26 -- List included files at start --
32 -- List included files atfter including inc1 -
40 -- List included files atfter including inc2 which will include inc3 which includes inc1 --
/php-src/ext/spl/tests/
H A Dfilesystemiterator_no_skip_dots.phpt11 $files = [];
13 $files[] = $f->getFileName();
15 sort($files);
16 var_dump($files);

Completed in 32 milliseconds

12345678910>>...32