Home
last modified time | relevance | path

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

12345678

/PHP-8.1/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 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.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 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.1/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 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.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 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.1/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.1/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}
H A Dphpdbg_help.c28 #define PHPDBG_COMMAND_HELP_D(name, tip, alias, action) \ argument
182 if (c->alias == key[0]) { in get_command()
285 if (c->alias && c->alias != 'h') { in PHPDBG_HELP()
286 phpdbg_writeln(" %c %-20s %s", c->alias, c->name, c->tip); in PHPDBG_HELP()
289 for(c_sub = c->subs; c_sub->alias; c_sub++) { in PHPDBG_HELP()
290 if (c_sub->alias) { in PHPDBG_HELP()
292 c->alias, c_sub->alias, c->name, len, c_sub->name, c_sub->tip); in PHPDBG_HELP()
301 phpdbg_writeln(" %c %-20s %s\n", c->alias, c->name, c->tip); in PHPDBG_HELP()
304 for(c_sub = c->subs; c_sub->alias; c_sub++) { in PHPDBG_HELP()
305 if (c_sub->alias) { in PHPDBG_HELP()
[all …]
/PHP-8.1/ext/phar/
H A Dphar_internal.h285 char *alias; member
498 static inline int phar_validate_alias(const char *alias, size_t alias_len) /* {{{ */ in phar_validate_alias() argument
500 …return !(memchr(alias, '/', alias_len) || memchr(alias, '\\', alias_len) || memchr(alias, ':', ali… in phar_validate_alias()
501 …memchr(alias, ';', alias_len) || memchr(alias, '\n', alias_len) || memchr(alias, '\r', alias_len)); in phar_validate_alias()
532 int phar_open_from_filename(char *fname, size_t fname_len, char *alias, size_t alias_len, uint32_t …
535 int phar_open_executed_filename(char *alias, size_t alias_len, char **error);
536 int phar_free_alias(phar_archive_data *phar, char *alias, size_t alias_len);
537 int phar_get_archive(phar_archive_data **archive, char *fname, size_t fname_len, char *alias, size_…
538 int phar_open_parsed_phar(char *fname, size_t fname_len, char *alias, size_t alias_len, bool is_dat…
577 int phar_open_or_create_tar(char *fname, size_t fname_len, char *alias, size_t alias_len, int is_da…
[all …]

Completed in 32 milliseconds

12345678