Home
last modified time | relevance | path

Searched refs:pname (Results 51 – 75 of 133) sorted by last modified time

123456

/PHP-7.4/ext/phar/tests/
H A Dphar_oo_compressed_001b.phpt12 $pname = 'phar://' . $fname;
24 var_dump(file_get_contents($pname . '/a'));
26 var_dump(file_get_contents($pname . '/b'));
28 var_dump(file_get_contents($pname . '/c'));
38 var_dump(file_get_contents($pname . '/a'));
40 var_dump(file_get_contents($pname . '/b'));
42 var_dump(file_get_contents($pname . '/c'));
44 var_dump(file_get_contents($pname . '/d'));
H A Dphar_oo_compressed_002.phpt12 $pname = 'phar://' . $fname;
24 var_dump(file_get_contents($pname . '/a'));
26 var_dump(file_get_contents($pname . '/b'));
28 var_dump(file_get_contents($pname . '/c'));
33 file_put_contents($pname . '/b', 'new b');
35 file_put_contents($pname . '/d', 'new d');
39 var_dump(file_get_contents($pname . '/a'));
41 var_dump(file_get_contents($pname . '/b'));
43 var_dump(file_get_contents($pname . '/c'));
45 var_dump(file_get_contents($pname . '/d'));
[all …]
H A Dphar_oo_compressed_002b.phpt12 $pname = 'phar://' . $fname;
24 var_dump(file_get_contents($pname . '/a'));
26 var_dump(file_get_contents($pname . '/b'));
28 var_dump(file_get_contents($pname . '/c'));
33 file_put_contents($pname . '/b', 'new b');
35 file_put_contents($pname . '/d', 'new d');
39 var_dump(file_get_contents($pname . '/a'));
41 var_dump(file_get_contents($pname . '/b'));
43 var_dump(file_get_contents($pname . '/c'));
45 var_dump(file_get_contents($pname . '/d'));
[all …]
H A Dphar_oo_getmodified.phpt12 $pname = 'phar://' . $fname;
H A Dphar_oo_iswriteable.phpt12 $pname = 'phar://hio';
13 $file = '<?php include "' . $pname . '/a.php"; __HALT_COMPILER(); ?>';
16 $files['a.php'] = '<?php echo "This is a\n"; include "'.$pname.'/b.php"; ?>';
H A Dphar_oo_uncompressall.phpt12 $pname = 'phar://' . $fname;
24 var_dump(file_get_contents($pname . '/a'));
26 var_dump(file_get_contents($pname . '/b'));
28 var_dump(file_get_contents($pname . '/c'));
33 var_dump(file_get_contents($pname . '/a'));
36 var_dump(file_get_contents($pname . '/b'));
39 var_dump(file_get_contents($pname . '/c'));
44 var_dump(file_get_contents($pname . '/a'));
46 var_dump(file_get_contents($pname . '/b'));
48 var_dump(file_get_contents($pname . '/c'));
H A Dphar_running.phpt10 $pname = 'phar://' . $fname;
18 include $pname . '/index.php';
H A Dphar_setalias.phpt11 $pname = 'phar://' . $fname;
H A Dphar_setalias2.phpt11 $pname = 'phar://' . $fname;
H A Dphar_stub.phpt11 $pname = 'phar://' . $fname;
H A Dphar_stub_write.phpt11 $pname = 'phar://' . $fname;
H A Dphar_stub_write_file.phpt12 $pname = 'phar://' . $fname;
H A Dphar_unlinkarchive.phpt33 $pname = 'phar://' . $fname;
77 include $pname . '/evil.php';
H A Dpharfileinfo_chmod.phpt10 $pname = 'phar://' . $fname;
23 lstat($pname . '/a/b'); // sets BG(CurrentLStatFile)
H A Dpharfileinfo_compression.phpt12 $pname = 'phar://' . $fname;
H A Dpharfileinfo_construct.phpt10 $pname = 'phar://' . $fname;
14 $a = new PharFileInfo($pname . '/oops');
31 $a = new PharFileInfo($pname . '/oops/I/do/not/exist');
H A Dpharfileinfo_getcrc32.phpt11 $pname = 'phar://' . $fname;
22 $b = new PharFileInfo($pname . '/a/subdir');
29 $b = new PharFileInfo($pname . '/a/subdir/here');
35 $a = file_get_contents($pname . '/a/subdir/here');
H A Dpharfileinfo_setmetadata.phpt10 $pname = 'phar://' . $fname;
H A Dcached_manifest_1.phpt11 $pname = 'phar://' . dirname(__FILE__) . '/files/nophar.phar';
12 var_dump(file_get_contents($pname . '/b/c.php'));
13 $a = opendir($pname);
17 foreach (new RecursiveIteratorIterator(new Phar($pname)) as $f) {
20 var_dump(is_dir($pname . '/b'));
21 var_dump(is_dir($pname . '/d'));
22 var_dump(is_dir($pname . '/b/c.php'));
H A Dcreate_new_and_modify.phpt12 $pname = 'phar://' . $fname;
16 file_put_contents($pname . '/a.php', "brand new!\n");
21 include $pname . '/a.php';
26 opcache_invalidate($pname . '/a.php', true);
33 file_put_contents($pname .'/a.php', "modified!\n");
34 file_put_contents($pname .'/b.php', "another!\n");
43 include $pname . '/a.php';
44 include $pname . '/b.php';
H A Dcreate_path_error.phpt12 $pname = 'phar://' . $fname;
16 file_put_contents($pname . '/a.php?', "query");
17 file_put_contents($pname . '/b.php?bla', "query");
19 var_dump(file_get_contents($pname . '/a.php'));
20 var_dump(file_get_contents($pname . '/b.php'));
44 file_put_contents($pname . '/' . $check, "error");
H A Ddelete_in_phar.phpt11 $pname = 'phar://' . $fname;
21 include $pname . '/a.php';
22 include $pname . '/b.php';
23 include $pname . '/b/c.php';
24 unlink($pname . '/b/c.php');
28 include $pname . '/a.php';
29 include $pname . '/b.php';
30 include $pname . '/b/c.php';
H A Ddelete_in_phar_b.phpt11 $pname = 'phar://' . $fname;
20 include $pname . '/a.php';
21 include $pname . '/b.php';
22 include $pname . '/b/c.php';
23 unlink($pname . '/b/c.php');
27 include $pname . '/a.php';
28 include $pname . '/b.php';
29 include $pname . '/b/c.php';
H A Ddelete_in_phar_confirm.phpt11 $pname = 'phar://' . $fname;
21 include $pname . '/a.php';
22 include $pname . '/b.php';
23 include $pname . '/b/c.php';
25 unlink($pname . '/b/c.php');
H A Ddir.phpt11 $pname = 'phar://' . $fname;
23 mkdir($pname . '/another/dir/');
25 rmdir($pname . '/another/dir/');
28 var_dump(file_exists($pname . '/another/dir/'));
32 mkdir($pname . '/fails');
47 rmdir($pname . '/another/dir');
49 rmdir($pname);
50 rmdir($pname . '/');
51 mkdir($pname . '/');

Completed in 38 milliseconds

123456