/PHP-5.3/ext/standard/tests/file/ |
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_basic2.phpt | 2 realpath() with relative directory 6 var_dump(realpath('.') == realpath(getcwd())); 8 var_dump(realpath('.') == realpath(getcwd()));
|
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 | readlink_realpath_error.phpt | 2 Test readlink() and realpath() functions: error conditions 14 Prototype: string realpath ( string $path ); 31 echo "*** Testing realpath(): error conditions ***\n"; 32 var_dump( realpath() ); // args < expected 33 var_dump( realpath(1, 2) ); // args > expected 35 echo "\n*** Testing realpath() on a non-existent file ***\n"; 36 var_dump( realpath(dirname(__FILE__)."/realpath_error.tmp") ); 63 *** Testing realpath(): error conditions *** 65 Warning: realpath() expects exactly 1 parameter, 0 given in %s on line %d 68 Warning: realpath() expects exactly 1 parameter, 2 given in %s on line %d [all …]
|
H A D | readlink_realpath_variation1.phpt | 14 Prototype: string realpath ( string $path ); 18 echo "*** Testing readlink() and realpath() : usage variations ***\n"; 23 echo "\n*** Testing readlink() and realpath() with linkname stored inside a object ***\n"; 42 var_dump( realpath($obj1->linkname) ); 45 var_dump( realpath($obj2->linkname) ); 55 var_dump( realpath($obj1->linkname) ); 58 var_dump( realpath($obj2->linkname) ); 76 *** Testing readlink() and realpath() : usage variations *** 78 *** Testing readlink() and realpath() with linkname stored inside a object *** 80 -- Testing readlink() and realpath() with softlink, linkname stored inside an object -- [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 | clearstatcache_001.phpt | 22 var_dump(realpath(__FILE__ . "_link2")); 24 var_dump(realpath(__FILE__ . "_link2")); 26 var_dump(realpath(__FILE__ . "_link2")); 28 var_dump(realpath(__FILE__ . "_link2")); 31 var_dump(realpath(__FILE__ . "_link2"));
|
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 | readlink_realpath_variation3.phpt | 2 Test readlink() and realpath() functions: usage variation - invalid args 14 Prototype: string realpath ( string $path ); 18 echo "*** Testing readlink() and realpath() : usage variations ***\n"; 20 echo "\n*** Testing readlink() and realpath() with linkname as empty string, NULL and single space … 38 var_dump( realpath($link_string[$loop_counter]) ); 44 *** Testing readlink() and realpath() : usage variations *** 46 *** Testing readlink() and realpath() with linkname as empty string, NULL and single space ***
|
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_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 | 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_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…
|
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 | bug43248.phpt | 2 Bug #43248 (backward compatibility break in realpath()) 5 echo realpath(dirname(__FILE__) . '/../file/');
|
H A D | realpath_basic4.phpt | 2 Test realpath() with relative paths 15 echo "1. " . realpath("$file_path/realpath_basic/link2") . "\n"; 16 echo "2. " . realpath("$file_path/realpath_basic/link2/test") . "\n";
|
H A D | readlink_realpath_basic2.phpt | 2 Test readlink() and realpath functions: basic functionality - diff. path notation for files 14 Prototype: string realpath ( string $path ); 29 echo "\n*** Testing realpath() on filenames ***\n"; 47 var_dump( realpath($file) ); 64 *** Testing realpath() on filenames ***
|
H A D | tempnam_variation3-win32.phpt | 23 $file_path = realpath($file_path); 70 if (realpath($file_dir) == $file_path || realpath($file_dir . "\\") == $file_path) { 73 …echo "Failed, not created in the correct directory " . realpath($file_dir) . ' vs ' . $file_path .…
|
H A D | readlink_realpath_basic1.phpt | 2 Test readlink() and realpath functions: basic functionality - diff. path notation for links(Bug #42… 14 Prototype: string realpath ( string $path ); 35 echo "*** Testing readlink() and realpath(): with valid and invalid path ***\n"; 55 var_dump( realpath($link) ); 74 *** Testing readlink() and realpath(): with valid and invalid path ***
|
H A D | tempnam_variation7-win32.phpt | 51 …if (realpath($file_dir) == realpath(sys_get_temp_dir()) || realpath($file_dir."\\") == realpath(sy…
|
/PHP-5.3/tests/security/ |
H A D | open_basedir_realpath.phpt | 14 test_open_basedir("realpath"); 22 *** Testing open_basedir configuration [realpath] *** 29 Warning: realpath(): open_basedir restriction in effect. File(%s\test\bad) is not within the allowe… 32 Warning: realpath(): open_basedir restriction in effect. File(%s\test\bad\bad.txt) is not within th… 35 Warning: realpath(): open_basedir restriction in effect. File(%s\test) is not within the allowed pa… 38 Warning: realpath(): open_basedir restriction in effect. File(%s\test) is not within the allowed pa… 41 Warning: realpath(): open_basedir restriction in effect. File(%s\) is not within the allowed path(s… 44 Warning: realpath(): open_basedir restriction in effect. File(%s\test\bad) is not within the allowe… 47 Warning: realpath(): open_basedir restriction in effect. File(%s\test\bad\bad.txt) is not within th… 53 Warning: realpath(): open_basedir restriction in effect. File(%s\test) is not within the allowed pa… [all …]
|
/PHP-5.3/ext/pdo_mysql/tests/ |
H A D | config.inc | 37 return realpath( $_ENV['TMP'] ); 39 return realpath( $_ENV['TMPDIR'] ); 41 return realpath( $_ENV['TEMP'] ); 45 $temp_dir = realpath(dirname($temp_file));
|
/PHP-5.3/ext/gd/tests/ |
H A D | imagecopyresampled_basic.phpt | 19 $dest_lge = dirname(realpath(__FILE__)) . '/imagelarge.png'; 20 $dest_sml = dirname(realpath(__FILE__)) . '/imagesmall.png'; 62 $dest_lge = dirname(realpath(__FILE__)) . '/imagelarge.png'; 63 $dest_sml = dirname(realpath(__FILE__)) . '/imagesmall.png';
|
/PHP-5.3/ext/mysql/tests/ |
H A D | connect.inc | 6 return realpath( $_ENV['TMP'] ); 8 return realpath( $_ENV['TMPDIR'] ); 10 return realpath( $_ENV['TEMP'] ); 14 $temp_dir = realpath(dirname($temp_file));
|
/PHP-5.3/ext/phar/ |
H A D | shortarc.php | 74 $a = realpath(Extract_Phar::$temp . DIRECTORY_SEPARATOR . $pt); 168 $temp = realpath($temp); 203 return realpath('/temp'); 210 return realpath('/tmp');
|