/PHP-8.0/ext/standard/tests/file/ |
H A D | symlink_link_linkinfo_is_link_variation9.phpt | 34 $linkinfo = linkinfo($soft_link); 37 var_dump(is_int($linkinfo) && $linkinfo !== -1); 38 if( $s1[0] == $linkinfo ) 49 $linkinfo = linkinfo($hard_link); 52 var_dump(is_int($linkinfo) && $linkinfo !== -1); 53 if( $s1[0] == $linkinfo ) 66 $linkinfo = linkinfo($soft_link); 69 var_dump(is_int($linkinfo) && $linkinfo !== -1); 70 if( $s1[0] == $linkinfo ) 97 linkinfo() value matches lstat['dev'] [all …]
|
H A D | symlink_link_linkinfo_is_link_variation1.phpt | 2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - link name stored in… 38 $linkinfo = linkinfo($obj->linkname); 39 var_dump( is_int($linkinfo) && $linkinfo !== -1 ); 52 $linkinfo = linkinfo($obj->linkname); 53 var_dump( is_int($linkinfo) && $linkinfo !== -1 ); 70 $linkinfo = linkinfo($link_arr[0]); 71 var_dump( is_int($linkinfo) && $linkinfo !== -1 ); 84 $linkinfo = linkinfo($link_arr[0]); 85 var_dump( is_int($linkinfo) && $linkinfo !== -1 ); 105 *** Testing symlink(), link(), linkinfo() and is_link() with linknames stored as members in an obje… [all …]
|
H A D | symlink_link_linkinfo_is_link_basic1.phpt | 2 Test symlink(), linkinfo(), link() and is_link() functions: basic functionality - link to files 19 and checking linkinfo() and is_link() on the link created */ 21 echo "*** Testing symlink(), linkinfo(), link() and is_link() : basic functionality ***\n"; 42 and check linkinfo() and is_link() on the link created */ 48 // checking information of link with linkinfo() 49 $linkinfo = linkinfo($sym_linkname); 50 var_dump( is_int($linkinfo) && $linkinfo !== -1 ); 60 // checking information of link with linkinfo() 61 $linkinfo = linkinfo($sym_linkname); 62 var_dump( is_int($linkinfo) && $linkinfo !== -1 ); [all …]
|
H A D | symlink_link_linkinfo_is_link_basic2.phpt | 2 Test symlink(), linkinfo(), link() and is_link() functions: basic functionality - link to dirs 14 echo "*** Testing symlink(), linkinfo(), link() and is_link() : basic functionality ***\n"; 17 linkinfo() and is_link() on the link created to $dirname */ 22 echo "\n*** Testing symlink(), linkinfo(), link() and is_link() on directory ***\n"; 35 $linkinfo = linkinfo($sym_linkname); 36 var_dump( is_int($linkinfo) && $linkinfo !== -1 ); 46 var_dump( linkinfo($linkname) ); // link doesn't exists as not created, expected false 66 *** Testing symlink(), linkinfo(), link() and is_link() : basic functionality *** 68 *** Testing symlink(), linkinfo(), link() and is_link() on directory *** 80 Warning: linkinfo(): No such file or directory in %s on line %d
|
H A D | symlink_link_linkinfo_is_link_error1.phpt | 2 Test symlink(), linkinfo(), link() and is_link() functions : error conditions - symlink & linkinfo 29 echo "\n*** Testing linkinfo() for error conditions ***\n"; 32 var_dump( linkinfo(NULL) ); // NULL as linkname 33 var_dump( linkinfo('') ); // empty string as linkname 34 var_dump( linkinfo(false) ); // boolean false as linkname 64 *** Testing linkinfo() for error conditions *** 66 Warning: linkinfo(): %s in %s on line %d 69 Warning: linkinfo(): %s in %s on line %d 72 Warning: linkinfo(): %s in %s on line %d
|
H A D | symlink_link_linkinfo_is_link_variation5.phpt | 2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - work on deleted link 12 /* Variation 5 : Creating link, deleting it and checking linkinfo(), is_link() on it */ 16 echo "*** Testing linkinfo() and is_link() on deleted link ***\n"; 40 // try using linkinfo() & is_link() on deleted link; expected: false 42 var_dump( linkinfo($deleted_link) ); 56 *** Testing linkinfo() and is_link() on deleted link *** 60 Warning: linkinfo(): No such file or directory in %s on line %d
|
H A D | symlink_link_linkinfo_is_link_variation2.phpt | 2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - hardlink to non-exi… 17 // checking linkinfo() and is_link() on the link; expected: false 18 var_dump( linkinfo($non_existent_linkname) ); 29 Warning: linkinfo(): No such file or directory in %s on line %d
|
H A D | symlink_link_linkinfo_is_link_variation6.phpt | 2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - link & dir perms. 26 var_dump( linkinfo($linkname) ); 34 var_dump( linkinfo($linkname) ); 63 Warning: linkinfo(): Permission denied in %s on line %d 72 Warning: linkinfo(): Permission denied in %s on line %d
|
H A D | symlink.phpt | 17 var_dump(linkinfo($link)); 21 var_dump(linkinfo($link)); 43 var_dump(linkinfo(".")); 55 Warning: linkinfo(): No such file or directory in %s on line %d
|
H A D | symlink_link_linkinfo_is_link_variation7.phpt | 2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - try link to self
|
H A D | symlink_link_linkinfo_is_link_variation8.phpt | 2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - try link with same …
|
H A D | symlink_link_linkinfo_is_link_error2.phpt | 2 Test symlink(), linkinfo(), link() and is_link() functions : error conditions - link & is_link
|
H A D | symlink_link_linkinfo_is_link_variation4.phpt | 2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - access/update file …
|
H A D | symlink_link_linkinfo_is_link_variation3.phpt | 2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - access/update file …
|
/PHP-8.0/tests/security/ |
H A D | open_basedir_linkinfo.phpt | 18 test_open_basedir_before("linkinfo", FALSE); 28 var_dump(linkinfo("symlink.txt")); 29 var_dump(linkinfo("../ok/symlink.txt")); 30 var_dump(linkinfo("../ok/./symlink.txt")); 31 var_dump(linkinfo("./symlink.txt")); 32 var_dump(linkinfo($initdir."/test/ok/symlink.txt")); 37 var_dump(linkinfo($symlink)); 40 test_open_basedir_after("linkinfo"); 49 *** Testing open_basedir configuration [linkinfo] *** 65 *** Finished testing open_basedir configuration [linkinfo] ***
|
/PHP-8.0/ext/standard/ |
H A D | link.c | 92 PHP_FUNCTION(linkinfo) in PHP_FUNCTION() argument
|
H A D | basic_functions.stub.php | 1018 function linkinfo(string $path): int|false {} function
|
H A D | basic_functions_arginfo.h | 2639 ZEND_FUNCTION(linkinfo); 3279 ZEND_FE(linkinfo, arginfo_linkinfo)
|
/PHP-8.0/ext/fileinfo/tests/ |
H A D | magic私はガラスを食べられます | 23768 #>>>0x38 search/128123456 /LinkInfo \b with linkinfo
|
H A D | magic | 23768 #>>>0x38 search/128123456 /LinkInfo \b with linkinfo
|