/PHP-8.2/ext/standard/tests/file/ |
H A D | readlink_realpath_error.phpt | 2 Test readlink() and realpath() functions: error conditions 11 echo "\n*** Testing readlink() on a non-existent link ***\n"; 12 var_dump( readlink(__DIR__."/readlink_error.tmp") ); 14 echo "\n*** Testing readlink() on existing file ***\n"; 15 var_dump( readlink(__FILE__) ); 18 var_dump( readlink(__DIR__) ); 26 *** Testing readlink() on a non-existent link *** 31 *** Testing readlink() on existing file *** 33 Warning: readlink(): Invalid argument in %s on line %d 36 *** Testing readlink() on existing directory *** [all …]
|
H A D | readlink_realpath_error-win32.phpt | 2 Test readlink() and realpath() functions: error conditions 11 echo "\n*** Testing readlink() on a non-existent link ***\n"; 12 var_dump( readlink(__DIR__."/readlink_error.tmp") ); 14 echo "\n*** Testing readlink() on existing file ***\n"; 15 var_dump( readlink(__FILE__) ); 17 echo "\n*** Testing readlink() on existing directory ***\n"; 18 var_dump( readlink(__DIR__) ); 26 *** Testing readlink() on a non-existent link *** 28 Warning: readlink(): readlink failed to read the symbolic link (%s, error %d) in %s on line %d 31 *** Testing readlink() on existing file *** [all …]
|
H A D | readlink_realpath_variation3.phpt | 2 Test readlink() and realpath() functions: usage variation - invalid args 5 echo "*** Testing readlink() and realpath() : usage variations ***\n"; 7 echo "\n*** Testing readlink() and realpath() with linkname as empty string, NULL and single space … 22 var_dump( readlink($link_string[$loop_counter]) ); 29 *** Testing readlink() and realpath() : usage variations *** 31 *** Testing readlink() and realpath() with linkname as empty string, NULL and single space *** 34 Warning: readlink(): %s in %s on line %d 39 Warning: readlink(): %s in %s on line %d 44 Warning: readlink(): %s in %s on line %d 49 Warning: readlink(): %s in %s on line %d
|
H A D | readlink_variation1.phpt | 2 Test readlink() function: usage variations - invalid filenames 9 /* Testing readlink() with invalid arguments -int, float, bool, NULL, resource */ 28 var_dump( readlink($filename) ); 35 Warning: readlink(): %s in %s on line %d 38 Warning: readlink(): %s in %s on line %d 41 Warning: readlink(): %s in %s on line %d 44 Warning: readlink(): %s in %s on line %d 47 Warning: readlink(): %s in %s on line %d 50 Warning: readlink(): %s in %s on line %d
|
H A D | readlink_realpath_variation1.phpt | 11 echo "*** Testing readlink() and realpath() : usage variations ***\n"; 16 echo "\n*** Testing readlink() and realpath() with linkname stored inside a object ***\n"; 34 var_dump( readlink($obj1->linkname) ); 37 var_dump( readlink($obj2->linkname) ); 47 var_dump( readlink($obj1->linkname) ); // invalid because readlink doesn't work with hardlink 50 var_dump( readlink($obj2->linkname) ); // invalid because readlink doesn't work with hardlink 69 *** Testing readlink() and realpath() : usage variations *** 71 *** Testing readlink() and realpath() with linkname stored inside a object *** 73 -- Testing readlink() and realpath() with softlink, linkname stored inside an object -- 84 Warning: readlink(): Invalid argument in %s on line %d [all …]
|
H A D | readlink_realpath_variation2-win32.phpt | 14 echo "*** Testing readlink() and realpath() : usage variations ***\n"; 23 echo "\n*** Testing readlink() and realpath() with linkname stored in an array ***\n"; 32 var_dump( readlink($link_arr[0]) ); 35 var_dump( readlink($link_arr[1]) ); 45 var_dump( readlink($link_arr[0]) ); // invalid because readlink doesn't work with hardlink 48 var_dump( readlink($link_arr[1]) ); // invalid because readlink doesn't work with hardlink 67 *** Testing readlink() and realpath() : usage variations *** 69 *** Testing readlink() and realpath() with linkname stored in an array *** 71 -- Testing readlink() and realpath() with softlink, linkname stored inside an array -- 79 Warning: readlink(): readlink failed to read the symbolic link (%s) in %s on line %d [all …]
|
H A D | readlink_realpath_variation2.phpt | 11 echo "*** Testing readlink() and realpath() : usage variations ***\n"; 20 echo "\n*** Testing readlink() and realpath() with linkname stored in an array ***\n"; 29 var_dump( readlink($link_arr[0]) ); 32 var_dump( readlink($link_arr[1]) ); 42 var_dump( readlink($link_arr[0]) ); // invalid because readlink doesn't work with hardlink 45 var_dump( readlink($link_arr[1]) ); // invalid because readlink doesn't work with hardlink 64 *** Testing readlink() and realpath() : usage variations *** 66 *** Testing readlink() and realpath() with linkname stored in an array *** 76 Warning: readlink(): No such file or directory in %s on line %d 85 Warning: readlink(): Invalid argument in %s on line %d [all …]
|
H A D | readlink_realpath_variation1-win32.phpt | 2 Test readlink() and realpath() functions: usage variation - linkname/filename stored in object(Bug … 14 echo "*** Testing readlink() and realpath() : usage variations ***\n"; 19 echo "\n*** Testing readlink() and realpath() with linkname stored inside a object ***\n"; 37 var_dump( readlink($obj1->linkname) ); 40 var_dump( readlink($obj2->linkname) ); 50 var_dump( readlink($obj1->linkname) ); // invalid because readlink doesn't work with hardlink 53 var_dump( readlink($obj2->linkname) ); // invalid because readlink doesn't work with hardlink 72 *** Testing readlink() and realpath() : usage variations *** 74 *** Testing readlink() and realpath() with linkname stored inside a object *** 76 -- Testing readlink() and realpath() with softlink, linkname stored inside an object -- [all …]
|
H A D | rename_variation7-win32.phpt | 20 var_dump(readlink($tmp_link)); 21 var_dump(readlink($tmp_link2)); 31 Warning: readlink(): readlink failed to read the symbolic link (%srename_variation7-win32.php.tmp.l… 34 Warning: readlink(): readlink failed to read the symbolic link (%srename_variation7-win32.php.tmp.l…
|
H A D | symlink_to_symlink.phpt | 31 var_dump(readlink($prefix . "_link1")); 32 var_dump(readlink($prefix . "_link2")); 33 var_dump(readlink($prefix . "_link3")); 34 var_dump(readlink($prefix . "_link4")); 35 var_dump(readlink($prefix . "_link5"));
|
H A D | readlink_realpath_basic1.phpt | 2 Test readlink() and realpath functions: basic functionality - diff. path notation for links(Bug #42… 29 echo "*** Testing readlink() and realpath(): with valid and invalid path ***\n"; 48 var_dump( readlink($link) ); 68 *** Testing readlink() and realpath(): with valid and invalid path *** 84 Warning: readlink(): %s in %s on line %d 90 Warning: readlink(): %s in %s on line %d 96 Warning: readlink(): %s in %s on line %d 102 Warning: readlink(): %s in %s on line %d
|
H A D | symlink.phpt | 16 var_dump(readlink($link)); 20 var_dump(readlink($link)); 42 var_dump(readlink(".")); 52 Warning: readlink(): No such file or directory in %s on line %d 75 Warning: readlink(): Invalid argument in %s on line %d
|
H A D | rename_variation7.phpt | 19 var_dump(readlink($tmp_link)); 20 var_dump(readlink($tmp_link2)); 28 Warning: readlink(): No such file or directory in %s on line %d
|
H A D | rename_variation6-win32.phpt | 22 var_dump(readlink($tmp_link)); 23 var_dump(readlink($tmp_link2)); 33 Warning: readlink(): %s in %s on line %d
|
H A D | rename_variation6.phpt | 21 var_dump(readlink($tmp_link)); 22 var_dump(readlink($tmp_link2)); 32 Warning: readlink(): No such file or directory in %s on line %d
|
H A D | readlink_realpath_basic2.phpt | 2 Test readlink() and realpath functions: basic functionality - diff. path notation for files
|
H A D | readlink_realpath_basic2-win32.phpt | 2 Test readlink() and realpath functions: basic functionality - diff. path notation for files
|
/PHP-8.2/tests/security/ |
H A D | open_basedir_readlink.phpt | 15 test_open_basedir_before("readlink", FALSE); 25 var_dump(readlink("symlink.txt")); 26 var_dump(readlink("../ok/symlink.txt")); 27 var_dump(readlink("../ok/./symlink.txt")); 28 var_dump(readlink("./symlink.txt")); 29 var_dump(readlink($initdir."/test/ok/symlink.txt")); 34 var_dump(readlink($symlink)); 36 test_open_basedir_after("readlink"); 45 *** Testing open_basedir configuration [readlink] *** 52 Warning: readlink(): open_basedir restriction in effect. File(symlink.txt) is not within the allowe… [all …]
|
/PHP-8.2/ext/standard/tests/dir/ |
H A D | bug73877.phpt | 2 Bug #73877 readlink() returns garbage for UTF-8 paths 24 readlink($dir0), 25 readlink($dir1), 26 readlink($junk0), 27 strlen(readlink($dir0)) === strlen(readlink($junk0))
|
/PHP-8.2/ext/standard/tests/file/windows_links/ |
H A D | readlink_compat.phpt | 2 Test readlink bc behaviour on Windows 4 Checks readlink is backward-compatible with PHP-7.3 and below 23 var_dump(readlink($tmpDir)); 32 var_dump(readlink($link)); 39 var_dump(readlink($link)); 46 var_dump(readlink($link)); 49 var_dump(readlink($link)); 60 var_dump(readlink($link)); 63 var_dump(readlink($link)); 68 var_dump(readlink($tmpDir . '\\test\\directory')); [all …]
|
/PHP-8.2/Zend/ |
H A D | zend_gdb.c | 134 if (readlink(buf, out, sizeof(out) - 1) > 0) { in zend_gdb_present()
|
/PHP-8.2/sapi/fuzzer/ |
H A D | fuzzer-execute-common.h | 152 if (readlink("/proc/self/exe", path, sizeof(path)) < 0) {
|
/PHP-8.2/ext/standard/ |
H A D | link.c | 59 PHP_FUNCTION(readlink) in PHP_FUNCTION() argument
|
/PHP-8.2/ext/phar/tests/tar/files/ |
H A D | tarmaker.php.inc | 65 $link = @readlink($current);
|
H A D | make.dangerous.tar.php.inc | 66 $link = @readlink($current);
|