Home
last modified time | relevance | path

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

12345678

/PHP-8.4/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.4/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.4/ext/phar/tests/
H A Dinvalid_alias.phpt2 Phar: set alias with invalid alias containing / \ : or ;
36 Invalid alias "hi/" specified for phar "%sinvalid_alias.phar"
37 Invalid alias "hi\l" specified for phar "%sinvalid_alias.phar"
38 Invalid alias "hil;" specified for phar "%sinvalid_alias.phar"
39 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';
38 Cannot set alias ".phar/alias.txt" directly in phar "%sinvalid_setstubalias.phar.tar", use setAlias
40 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.4/Zend/tests/gh15976/
H A Dalias-names.phpt2 GH-15976: Bad class alias names
11 Deprecated: Using "_" as a class alias is deprecated since 8.4 in %salias-names.php on line 3
13 Fatal error: Cannot use "bool" as a class alias as it is reserved in %salias-names.php on line 4
/PHP-8.4/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.4/ext/phar/
H A Dphar_internal.h252 char *alias; member
376 static inline bool phar_validate_alias(const char *alias, size_t alias_len) /* {{{ */ in phar_validate_alias() argument
378 …return !(memchr(alias, '/', alias_len) || memchr(alias, '\\', alias_len) || memchr(alias, ':', ali… in phar_validate_alias()
379 …memchr(alias, ';', alias_len) || memchr(alias, '\n', alias_len) || memchr(alias, '\r', alias_len)); in phar_validate_alias()
409 zend_result phar_open_from_filename(char *fname, size_t fname_len, char *alias, size_t alias_len, u…
412 zend_result phar_open_executed_filename(char *alias, size_t alias_len, char **error);
413 zend_result phar_free_alias(phar_archive_data *phar, char *alias, size_t alias_len);
414 …archive(phar_archive_data **archive, char *fname, size_t fname_len, char *alias, size_t alias_len,…
449 zend_result phar_open_or_create_tar(char *fname, size_t fname_len, char *alias, size_t alias_len, i…
453 int phar_parse_zipfile(php_stream *fp, char *fname, size_t fname_len, char *alias, size_t alias_len…
[all …]

Completed in 28 milliseconds

12345678