/PHP-7.4/ext/standard/tests/file/ |
H A D | readlink_realpath_variation2-win32.phpt | 17 Prototype: string realpath ( string $path ); 21 echo "*** Testing readlink() and realpath() : usage variations ***\n"; 30 echo "\n*** Testing readlink() and realpath() with linkname stored in an array ***\n"; 40 var_dump( realpath($link_arr[0]) ); 43 var_dump( realpath($link_arr[1]) ); 53 var_dump( realpath($link_arr[0]) ); 56 var_dump( realpath($link_arr[1]) ); 74 *** Testing readlink() and realpath() : usage variations *** 76 *** Testing readlink() and realpath() with linkname stored in an array *** 78 -- Testing readlink() and realpath() with softlink, linkname stored inside an array -- [all …]
|
H A D | readlink_realpath_variation2.phpt | 14 Prototype: string realpath ( string $path ); 18 echo "*** Testing readlink() and realpath() : usage variations ***\n"; 27 echo "\n*** Testing readlink() and realpath() with linkname stored in an array ***\n"; 37 var_dump( realpath($link_arr[0]) ); 40 var_dump( realpath($link_arr[1]) ); 50 var_dump( realpath($link_arr[0]) ); 53 var_dump( realpath($link_arr[1]) ); 71 *** Testing readlink() and realpath() : usage variations *** 73 *** Testing readlink() and realpath() with linkname stored in an array *** 75 -- Testing readlink() and realpath() with softlink, linkname stored inside an array -- [all …]
|
H A D | readlink_realpath_variation3.phpt | 2 Test readlink() and realpath() functions: usage variation - invalid args 8 Prototype: string realpath ( string $path ); 12 echo "*** Testing readlink() and realpath() : usage variations ***\n"; 14 echo "\n*** Testing readlink() and realpath() with linkname as empty string, NULL and single space … 32 var_dump( realpath($link_string[$loop_counter]) ); 38 *** Testing readlink() and realpath() : usage variations *** 40 *** Testing readlink() and realpath() with linkname as empty string, NULL and single space ***
|
H A D | realpath_basic-win32-mb.phpt | 2 Test realpath() function: basic functionality 11 /* Prototype: string realpath ( string $path ); 15 echo "\n*** Testing basic functions of realpath() with files ***\n"; 28 echo "\n*** Testing realpath() on filenames ***\n"; 48 var_dump( realpath($file) ); 65 *** Testing basic functions of realpath() with files *** 67 *** Testing realpath() on filenames ***
|
H A D | realpath_basic-win32.phpt | 2 Test realpath() function: basic functionality 11 /* Prototype: string realpath ( string $path ); 15 echo "\n*** Testing basic functions of realpath() with files ***\n"; 28 echo "\n*** Testing realpath() on filenames ***\n"; 48 var_dump( realpath($file) ); 65 *** Testing basic functions of realpath() with files *** 67 *** Testing realpath() on filenames ***
|
H A D | realpath_basic2.phpt | 2 realpath() with relative directory 6 var_dump(realpath('.') == realpath(getcwd())); 8 var_dump(realpath('.') == realpath(getcwd()));
|
H A D | realpath_basic3.phpt | 2 Test realpath() with relative paths 5 /* Prototype: string realpath ( string $path ); 9 echo "\n*** Testing basic functions of realpath() with files ***\n"; 22 echo "\n*** Testing realpath() on filenames ***\n"; 45 var_dump( realpath($file) ); 62 *** Testing basic functions of realpath() with files *** 64 *** Testing realpath() on filenames ***
|
H A D | realpath_basic4.phpt | 2 Test realpath() with relative paths 9 echo "1. " . realpath("$file_path/realpath_basic4/link2") . "\n"; 10 echo "2. " . realpath("$file_path/realpath_basic4/link2/test") . "\n";
|
H A D | realpath_bug77484.phpt | 2 Bug #77484 Zend engine crashes when calling realpath in invalid working dir 26 $rp0 = realpath(''); 29 $rp1 = realpath('.'); 30 $rp2 = realpath('./');
|
H A D | realpath_cache.phpt | 25 ["realpath"]=>
|
H A D | realpath_cache_win32.phpt | 25 ["realpath"]=>
|
H A D | realpath_error-win32.phpt | 2 Test realpath() function: error conditions 11 /* Prototype: string realpath ( string $path ); 15 echo "*** Testing realpath() for error conditions ***\n"; 16 var_dump( realpath() ); // args < expected 17 var_dump( realpath(1, 2) ); // args > expected 22 *** Testing realpath() for error conditions *** 24 Warning: realpath() expects exactly 1 parameter, 0 given in %s on line %d 27 Warning: realpath() expects exactly 1 parameter, 2 given in %s on line %d
|
H A D | realpath_variation-win32-mb.phpt | 2 Test realpath() function: usage variation 11 /* Prototype: string realpath ( string $path ); 17 echo "*** Testing realpath(): usage variations ***\n"; 37 var_dump( realpath($obj1->filename) ); 38 var_dump( realpath($obj2->filename) ); 46 var_dump( realpath($file_arr[0]) ); 47 var_dump( realpath($file_arr[1]) ); 65 var_dump( realpath($file_string[$loop_counter]) ); 79 *** Testing realpath(): usage variations *** 81 *** Testing realpath() with filename stored inside a object *** [all …]
|
H A D | realpath_variation-win32.phpt | 2 Test realpath() function: usage variation 11 /* Prototype: string realpath ( string $path ); 17 echo "*** Testing realpath(): usage variations ***\n"; 37 var_dump( realpath($obj1->filename) ); 38 var_dump( realpath($obj2->filename) ); 46 var_dump( realpath($file_arr[0]) ); 47 var_dump( realpath($file_arr[1]) ); 65 var_dump( realpath($file_string[$loop_counter]) ); 79 *** Testing realpath(): usage variations *** 81 *** Testing realpath() with filename stored inside a object *** [all …]
|
H A D | realpath_variation2.phpt | 2 Test realpath() function : variation 12 /* Prototype : string realpath(string path) 18 echo "*** Testing realpath() : variation ***\n"; 34 var_dump( realpath($path) ); 40 *** Testing realpath() : variation ***
|
H A D | tempnam_variation1-win32-mb.phpt | 38 …if (realpath($file_dir) == realpath(sys_get_temp_dir()) || realpath($file_dir."\\") == realpath(sy… 41 …else if (realpath($file_dir) == realpath($file_path) || realpath($file_dir."\\") == realpath($file…
|
H A D | tempnam_variation1-win32.phpt | 38 …if (realpath($file_dir) == realpath(sys_get_temp_dir()) || realpath($file_dir."\\") == realpath(sy… 41 …else if (realpath($file_dir) == realpath($file_path) || realpath($file_dir."\\") == realpath($file…
|
H A D | tempnam_variation2-win32.phpt | 54 print(realpath($file_name)); 65 …if (realpath($file_dir) == realpath(sys_get_temp_dir()) || realpath($file_dir."\\") == realpath(sy… 68 …else if (realpath($file_dir) == realpath($dir_req) || realpath($file_dir."\\") == realpath($dir_re…
|
H A D | tempnam_variation2.phpt | 54 print(realpath($file_name)); 65 if (realpath($file_dir) == realpath(sys_get_temp_dir())) { 68 else if ($file_dir == realpath($dir_req)) {
|
H A D | tempnam_variation3-win32.phpt | 25 $file_path = realpath($file_path); 72 if (realpath($file_dir) == $file_path || realpath($file_dir . "\\") == $file_path) { 75 …echo "Failed, not created in the correct directory " . realpath($file_dir) . ' vs ' . $file_path .…
|
H A D | tempnam_variation4-0.phpt | 37 if (realpath(dirname($file_name)) != realpath(sys_get_temp_dir())) {
|
H A D | tempnam_variation4-1.phpt | 37 if (realpath(dirname($file_name)) != realpath(sys_get_temp_dir())) {
|
H A D | tempnam_variation7-win32.phpt | 53 …if (realpath($file_dir) == realpath(sys_get_temp_dir()) || realpath($file_dir."\\") == realpath(sy…
|
H A D | tempnam_variation7.phpt | 55 if (realpath($file_dir) == realpath(sys_get_temp_dir())) {
|
H A D | tempnam_variation8-win32.phpt | 53 print(realpath($file_name)); 64 …if (realpath($file_dir) == realpath(sys_get_temp_dir()) || realpath($file_dir."\\") == realpath(sy… 67 …else if (realpath($file_dir) == realpath($dir_req) || realpath($file_dir."\\") == realpath($dir_re…
|