Home
last modified time | relevance | path

Searched refs:realpath (Results 1 – 25 of 94) sorted by relevance

1234

/PHP-7.2/ext/standard/tests/file/
H A Drealpath_error-win32.phpt2 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 Drealpath_basic2.phpt2 realpath() with relative directory
6 var_dump(realpath('.') == realpath(getcwd()));
8 var_dump(realpath('.') == realpath(getcwd()));
H A Drealpath_variation-win32-mb.phpt2 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 Drealpath_variation-win32.phpt2 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 Dreadlink_realpath_error.phpt2 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 Dreadlink_realpath_variation1.phpt14 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 Dreadlink_realpath_variation2.phpt14 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 Dclearstatcache_001.phpt22 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 Drealpath_variation2.phpt2 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 Dreadlink_realpath_variation3.phpt2 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 Drealpath_basic3.phpt2 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 Drealpath_basic-win32.phpt2 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 Dtempnam_variation1-win32-mb.phpt38 …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 Dtempnam_variation1-win32.phpt38 …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 Drealpath_basic-win32-mb.phpt2 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 Dbug43248.phpt2 Bug #43248 (backward compatibility break in realpath())
5 echo realpath(dirname(__FILE__) . '/../file/');
H A Dtempnam_variation8-win32.phpt53 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 Drealpath_basic4.phpt2 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 Dtempnam_variation2-win32.phpt54 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 Dreadlink_realpath_basic2.phpt2 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 ***
/PHP-7.2/tests/security/
H A Dopen_basedir_realpath.phpt14 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-7.2/ext/standard/tests/file/windows_mb_path/
H A Dtest_long_path_2.phpt2 Basic long path test with file I/O, multibyte path and realpath() check
25 $p = realpath(dirname(__FILE__)) . DIRECTORY_SEPARATOR . $p;
32 /* path exists now, ensure realpath() works! */
33 $p2 = realpath($p);
35 /* realpath() will cut off the trailing slash */
50 var_dump(file_exists(realpath(dirname(__FILE__)) . DIRECTORY_SEPARATOR . $s));
/PHP-7.2/tests/basic/
H A Dbug54514.phpt5 if(realpath(getenv('TEST_PHP_EXECUTABLE')) === realpath(PHP_BINARY)) {
/PHP-7.2/ext/pdo_mysql/tests/
H A Dconfig.inc37 return realpath( $_ENV['TMP'] );
39 return realpath( $_ENV['TMPDIR'] );
41 return realpath( $_ENV['TEMP'] );
45 $temp_dir = realpath(dirname($temp_file));
/PHP-7.2/ext/gd/tests/
H A Dimagecopyresampled_basic.phpt18 $dest_lge = dirname(realpath(__FILE__)) . '/imagelarge.png';
19 $dest_sml = dirname(realpath(__FILE__)) . '/imagesmall.png';
61 $dest_lge = dirname(realpath(__FILE__)) . '/imagelarge.png';
62 $dest_sml = dirname(realpath(__FILE__)) . '/imagesmall.png';

Completed in 45 milliseconds

1234