Home
last modified time | relevance | path

Searched refs:alias (Results 1 – 25 of 175) sorted by relevance

1234567

/PHP-8.0/ext/phar/tests/tar/
H A Ddelete_in_phar_b.phpt12 $alias = 'phar://' . $fname;
22 include $alias . '/a.php';
23 include $alias . '/b.php';
24 include $alias . '/b/c.php';
25 unlink($alias . '/b/c.php');
30 include $alias . '/a.php';
31 include $alias . '/b.php';
32 include $alias . '/b/c.php';
H A Ddelete_in_phar.phpt13 $alias = 'phar://' . $fname;
22 include $alias . '/a.php';
23 include $alias . '/b.php';
24 include $alias . '/b/c.php';
25 unlink($alias . '/b/c.php');
30 include $alias . '/a.php';
31 include $alias . '/b.php';
32 include $alias . '/b/c.php';
H A Drename.phpt12 $alias = 'phar://' . $fname;
31 echo file_get_contents($alias . '/a') . "\n";
32 rename($alias . '/a', $alias . '/b');
33 echo file_get_contents($alias . '/b') . "\n";
34 echo file_get_contents($alias . '/a') . "\n";
H A Drmdir.phpt12 $alias = 'phar://' . $fname;
32 echo file_get_contents($alias . '/a/x') . "\n";
33 var_dump(rmdir($alias . '/a'));
34 echo file_get_contents($alias . '/a/x') . "\n";
35 unlink($alias . '/a/x');
36 var_dump(rmdir($alias . '/a'));
H A Drename_dir.phpt12 $alias = 'phar://' . $fname;
31 echo file_get_contents($alias . '/a/x') . "\n";
32 rename($alias . '/a', $alias . '/b');
33 echo file_get_contents($alias . '/b/x') . "\n";
34 echo file_get_contents($alias . '/a/x') . "\n";
H A Dbadalias.phpt19 phar error: invalid alias "hi/thereaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa..." in tar-based phar…
20 phar error: invalid alias "hi\there" in tar-based phar "%sbadalias2.phar.tar"
21 phar error: invalid alias "hi;there" in tar-based phar "%sbadalias3.phar.tar"
22 phar error: invalid alias "hi:there" in tar-based phar "%sbadalias4.phar.tar"
23 phar error: tar-based phar "%sbadalias5.phar.tar" has alias that is larger than 511 bytes, cannot p…
H A Dtar_003.phpt13 $alias = 'phar://' . $fname;
26 echo file_get_contents($alias . '/internal/file/here');
29 $tar = opendir($alias . '/');
35 echo (is_file($alias . '/' . $v) ? "file\n" : "dir\n");
42 $tar = opendir($alias . '/');
44 echo (is_file($alias . '/' . $v) ? "file\n" : "dir\n");
H A Dopen_for_write_newfile.phpt12 $alias = 'phar://' . $fname;
29 $fp = fopen($alias . '/b/new.php', 'wb');
33 include $alias . '/b/c.php';
34 include $alias . '/b/new.php';
H A Drefcount1.phpt12 $alias = 'phar://' . $fname;
23 $files['.phar/alias.txt'] = 'hio';
31 $fp = fopen($alias . '/b/c.php', 'wb');
36 $b = fopen($alias . '/b/c.php', 'rb');
42 unlink($alias . '/b/c.php');
45 include $alias . '/b/c.php';
/PHP-8.0/ext/phar/tests/zip/
H A Ddelete_in_phar_b.phpt12 $alias = 'phar://' . $fname;
22 include $alias . '/a.php';
23 include $alias . '/b.php';
24 include $alias . '/b/c.php';
25 unlink($alias . '/b/c.php');
29 include $alias . '/a.php';
30 include $alias . '/b.php';
31 include $alias . '/b/c.php';
H A Drename.phpt12 $alias = 'phar://' . $fname;
23 echo file_get_contents($alias . '/a') . "\n";
24 rename($alias . '/a', $alias . '/b');
25 echo file_get_contents($alias . '/b') . "\n";
26 echo file_get_contents($alias . '/a') . "\n";
H A Drmdir.phpt12 $alias = 'phar://' . $fname;
24 echo file_get_contents($alias . '/a/x') . "\n";
25 var_dump(rmdir($alias . '/a'));
26 echo file_get_contents($alias . '/a/x') . "\n";
27 unlink($alias . '/a/x');
28 var_dump(rmdir($alias . '/a'));
H A Dgetalias.phpt20 // existing phar.zip, no alias set
24 // check that default alias can be overwritten
29 // existing phar.zip, alias set
33 // check that alias can't be set manually
35 $phar['.phar/alias.txt'] = 'pinocchio';
41 // check that user-defined alias can be overwritten
56 Cannot set alias ".phar/alias.txt" directly in phar "%sgetalias.phar.zip", use setAlias
H A Drename_dir.phpt12 $alias = 'phar://' . $fname;
23 echo file_get_contents($alias . '/a/x') . "\n";
24 rename($alias . '/a', $alias . '/b');
25 echo file_get_contents($alias . '/b/x') . "\n";
26 echo file_get_contents($alias . '/a/x') . "\n";
H A Ddelete_in_phar.phpt13 $alias = 'phar://' . $fname;
22 include $alias . '/a.php';
23 include $alias . '/b.php';
24 include $alias . '/b/c.php';
25 unlink($alias . '/b/c.php');
29 include $alias . '/a.php';
30 include $alias . '/b.php';
31 include $alias . '/b/c.php';
H A Dbadalias.phpt21 phar error: invalid alias "hi/there" in zip-based phar "%sbadalias1.phar.zip"
22 phar error: invalid alias "hi\there" in zip-based phar "%sbadalias2.phar.zip"
23 phar error: invalid alias "hi\there" in zip-based phar "%sbadalias3.phar.zip"
24 phar error: invalid alias "hi;there" in zip-based phar "%sbadalias4.phar.zip"
25 phar error: invalid alias "hi:there" in zip-based phar "%sbadalias5.phar.zip"
H A Dalias_acrobatics.phpt2 Phar: alias edge cases
41 alias "foo" is already used for archive "%salias_acrobatics.phar.zip" cannot be overloaded with "%s…
43 phar error: Unable to add zip-based phar "%salias_acrobatics.2.phar.zip" with implicit alias, alias
44 alias "another" is already used for archive "%salias_acrobatics.phar.zip" cannot be overloaded with…
H A Dopen_for_write_newfile.phpt12 $alias = 'phar://' . $fname;
28 $fp = fopen($alias . '/b/new.php', 'wb');
32 include $alias . '/b/c.php';
33 include $alias . '/b/new.php';
/PHP-8.0/ext/phar/tests/
H A Dinvalid_alias.phpt2 Phar: set alias with invalid alias containing / \ : or ;
40 Invalid alias "hi/" specified for phar "%sinvalid_alias.phar"
41 Invalid alias "hi\l" specified for phar "%sinvalid_alias.phar"
42 Invalid alias "hil;" specified for phar "%sinvalid_alias.phar"
43 Invalid alias ":hil" specified for phar "%sinvalid_alias.phar"
H A Dinvalid_setstubalias.phpt2 Phar: invalid set alias or stub via array access
19 $p['.phar/alias.txt'] = 'hi';
30 $p['.phar/alias.txt'] = 'hi';
43 Cannot set alias ".phar/alias.txt" directly in phar "%sinvalid_setstubalias.phar.tar", use setAlias
45 Cannot set alias ".phar/alias.txt" directly in phar "%sinvalid_setstubalias.phar.zip", use setAlias
H A Dphar_offset_check.phpt2 Phar: disallow stub and alias setting via offset*() methods
27 $phar->offsetGet('.phar/alias.txt');
49 $phar->offsetSet('.phar/alias.txt', 'dolly');
57 $phar->offsetUnset('.phar/alias.txt');
69 Entry .phar/alias.txt does not exist
73 Cannot set alias ".phar/alias.txt" directly in phar "%sphar_offset_check.phar.php", use setAlias
H A Dalias_acrobatics.phpt2 Phar: alias edge cases
41 alias "foo" is already used for archive "%salias_acrobatics.phar" cannot be overloaded with "%salia…
43 Cannot open archive "%salias_acrobatics.2.phar", alias is already in use by existing archive
44 alias "another" is already used for archive "%salias_acrobatics.phar" cannot be overloaded with "%s…
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg_cmd.h94 char alias; /* Alias */ member
158 #define PHPDBG_COMMAND_D_EXP(name, tip, alias, handler, children, args, parent, flags) \ argument
159 {PHPDBG_STRL(#name), tip, sizeof(tip)-1, alias, phpdbg_do_##handler, children, args, parent, flags}
161 #define PHPDBG_COMMAND_D_EX(name, tip, alias, handler, children, args, flags) \ argument
162 {PHPDBG_STRL(#name), tip, sizeof(tip)-1, alias, phpdbg_do_##handler, children, args, NULL, flags}
164 #define PHPDBG_COMMAND_D(name, tip, alias, children, args, flags) \ argument
165 {PHPDBG_STRL(#name), tip, sizeof(tip)-1, alias, phpdbg_do_##name, children, args, NULL, flags}
/PHP-8.0/ext/phar/
H A Dphar_object.stub.php11 …nt $flags = FilesystemIterator::SKIP_DOTS|FilesystemIterator::UNIX_PATHS, ?string $alias = null) {} argument
125 public function setAlias(string $alias) {} argument
164 final public static function loadPhar(string $filename, ?string $alias = null): bool {} argument
166 final public static function mapPhar(?string $alias = null, int $offset = 0): bool {} argument
177 ?string $alias = null, ?string $index = null, ?string $fileNotFoundScript = null, argument
184 … = FilesystemIterator::SKIP_DOTS|FilesystemIterator::UNIX_PATHS, ?string $alias = null, int $forma… argument
392 public function setAlias(string $alias) {} argument
456 final public static function loadPhar(string $filename, ?string $alias = null): bool {} argument
459 final public static function mapPhar(?string $alias = null, int $offset = 0): bool {} argument
475 ?string $alias = null, ?string $index = null, ?string $fileNotFoundScript = null, argument
H A Dphar_internal.h283 char *alias; member
500 static inline int phar_validate_alias(const char *alias, size_t alias_len) /* {{{ */ in phar_validate_alias() argument
502 …return !(memchr(alias, '/', alias_len) || memchr(alias, '\\', alias_len) || memchr(alias, ':', ali… in phar_validate_alias()
503 …memchr(alias, ';', alias_len) || memchr(alias, '\n', alias_len) || memchr(alias, '\r', alias_len)); in phar_validate_alias()
534 int phar_open_from_filename(char *fname, size_t fname_len, char *alias, size_t alias_len, uint32_t …
537 int phar_open_executed_filename(char *alias, size_t alias_len, char **error);
538 int phar_free_alias(phar_archive_data *phar, char *alias, size_t alias_len);
539 int phar_get_archive(phar_archive_data **archive, char *fname, size_t fname_len, char *alias, size_…
579 int phar_open_or_create_tar(char *fname, size_t fname_len, char *alias, size_t alias_len, int is_da…
583 int phar_parse_zipfile(php_stream *fp, char *fname, size_t fname_len, char *alias, size_t alias_len…
[all …]

Completed in 45 milliseconds

1234567