Home
last modified time | relevance | path

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

12345678

/PHP-5.6/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 Dgetalias.phpt19 // existing phar.zip, no alias set
23 // check that default alias can be overwritten
28 // existing phar.zip, alias set
32 // check that alias can't be set manually
34 $phar['.phar/alias.txt'] = 'pinocchio';
40 // 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 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 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.phpt12 $alias = 'phar://' . $fname;
29 include $alias . '/a.php';
30 include $alias . '/b.php';
31 include $alias . '/b/c.php';
32 unlink($alias . '/b/c.php');
36 include $alias . '/a.php';
37 include $alias . '/b.php';
38 include $alias . '/b/c.php';
H A Dbadalias.phpt20 phar error: invalid alias "hi/there" in zip-based phar "%sbadalias1.phar.zip"
21 phar error: invalid alias "hi\there" in zip-based phar "%sbadalias2.phar.zip"
22 phar error: invalid alias "hi\there" in zip-based phar "%sbadalias3.phar.zip"
23 phar error: invalid alias "hi;there" in zip-based phar "%sbadalias4.phar.zip"
24 phar error: invalid alias "hi:there" in zip-based phar "%sbadalias5.phar.zip"
H A Dalias_acrobatics.phpt2 Phar: alias edge cases
42 alias "foo" is already used for archive "%salias_acrobatics.phar.zip" cannot be overloaded with "%s…
44 phar error: Unable to add zip-based phar "%salias_acrobatics.2.phar.zip" with implicit alias, alias
45 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';
H A Drefcount1_5_2.phpt14 $alias = 'phar://' . $fname;
31 $fp = fopen($alias . '/b/c.php', 'wb');
37 $b = fopen($alias . '/b/c.php', 'rb');
43 unlink($alias . '/b/c.php');
46 include $alias . '/b/c.php';
/PHP-5.6/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.phpt12 $alias = 'phar://' . $fname;
29 include $alias . '/a.php';
30 include $alias . '/b.php';
31 include $alias . '/b/c.php';
32 unlink($alias . '/b/c.php');
37 include $alias . '/a.php';
38 include $alias . '/b.php';
39 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.phpt20 phar error: invalid alias "hi/thereaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa..." in tar-based phar…
21 phar error: invalid alias "hi\there" in tar-based phar "%sbadalias2.phar.tar"
22 phar error: invalid alias "hi;there" in tar-based phar "%sbadalias3.phar.tar"
23 phar error: invalid alias "hi:there" in tar-based phar "%sbadalias4.phar.tar"
24 phar error: tar-based phar "%sbadalias5.phar.tar" has alias that is larger than 511 bytes, cannot p…
H A Dtar_003.phpt14 $alias = 'phar://' . $fname;
27 echo file_get_contents($alias . '/internal/file/here');
30 $tar = opendir($alias . '/');
36 echo (is_file($alias . '/' . $v) ? "file\n" : "dir\n");
43 $tar = opendir($alias . '/');
45 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';
/PHP-5.6/ext/phar/tests/
H A Dinvalid_alias.phpt2 Phar: set alias with invalid alias containing / \ : or ;
41 Invalid alias "hi/" specified for phar "%sinvalid_alias.phar"
42 Invalid alias "hi\l" specified for phar "%sinvalid_alias.phar"
43 Invalid alias "hil;" specified for phar "%sinvalid_alias.phar"
44 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';
44 Cannot set alias ".phar/alias.txt" directly in phar "%sinvalid_setstubalias.phar.tar", use setAlias
46 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
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
H A Drefcount1_5_2.phpt14 $alias = 'phar://' . $fname;
31 $fp = fopen($alias . '/b/c.php', 'wb');
37 $b = fopen($alias . '/b/c.php', 'rb');
43 unlink($alias . '/b/c.php');
46 include $alias . '/b/c.php';
/PHP-5.6/sapi/phpdbg/
H A Dphpdbg_cmd.h97 char alias; /* Alias */ member
157 #define PHPDBG_COMMAND_D_EXP(name, tip, alias, handler, children, args, parent) \ argument
158 {PHPDBG_STRL(#name), tip, sizeof(tip)-1, alias, phpdbg_do_##handler, children, args, parent}
160 #define PHPDBG_COMMAND_D_EX(name, tip, alias, handler, children, args) \ argument
161 {PHPDBG_STRL(#name), tip, sizeof(tip)-1, alias, phpdbg_do_##handler, children, args, NULL}
163 #define PHPDBG_COMMAND_D(name, tip, alias, children, args) \ argument
164 {PHPDBG_STRL(#name), tip, sizeof(tip)-1, alias, phpdbg_do_##name, children, args, NULL}
H A Dphpdbg_help.c30 #define PHPDBG_COMMAND_HELP_D(name, tip, alias, action) \ argument
31 {PHPDBG_STRL(#name), tip, sizeof(tip)-1, alias, action, NULL, 0}
184 if (c->alias == key[0]) { in get_command()
264 if (c->alias && c->alias != 'h') { in PHPDBG_HELP()
265 phpdbg_writeln(" %c %-20s %s", c->alias, c->name, c->tip); in PHPDBG_HELP()
268 for(c_sub = c->subs; c_sub->alias; c_sub++) { in PHPDBG_HELP()
269 if (c_sub->alias) { in PHPDBG_HELP()
271 c->alias, c_sub->alias, (char *)c->name, len, c_sub->name, c_sub->tip); in PHPDBG_HELP()
283 for(c_sub = c->subs; c_sub->alias; c_sub++) { in PHPDBG_HELP()
284 if (c_sub->alias) { in PHPDBG_HELP()
[all …]
/PHP-5.6/ext/phar/
H A Dphar_internal.h296 char *alias; member
528 static inline int phar_validate_alias(const char *alias, int alias_len) /* {{{ */ in phar_validate_alias() argument
530 …return !(memchr(alias, '/', alias_len) || memchr(alias, '\\', alias_len) || memchr(alias, ':', ali… in phar_validate_alias()
531 …memchr(alias, ';', alias_len) || memchr(alias, '\n', alias_len) || memchr(alias, '\r', alias_len)); in phar_validate_alias()
560 int phar_open_from_filename(char *fname, int fname_len, char *alias, int alias_len, int options, ph…
563 int phar_open_executed_filename(char *alias, int alias_len, char **error TSRMLS_DC);
564 int phar_free_alias(phar_archive_data *phar, char *alias, int alias_len TSRMLS_DC);
565 int phar_get_archive(phar_archive_data **archive, char *fname, int fname_len, char *alias, int alia…
566 int phar_open_parsed_phar(char *fname, int fname_len, char *alias, int alias_len, int is_data, int …
596 int phar_open_or_create_tar(char *fname, int fname_len, char *alias, int alias_len, int is_data, in…
[all …]

Completed in 62 milliseconds

12345678