Home
last modified time | relevance | path

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

12345

/php-src/ext/standard/tests/file/
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
13 echo "*** Testing realpath(): usage variations ***\n";
33 var_dump( realpath($obj1->filename) );
34 var_dump( realpath($obj2->filename) );
36 echo "\n*** Testing realpath() with filename stored in an array ***\n";
42 var_dump( realpath($file_arr[0]) );
43 var_dump( realpath($file_arr[1]) );
59 var_dump( realpath($file_string[$loop_counter]) );
73 *** Testing realpath(): usage variations ***
75 *** Testing realpath() with filename stored inside a object ***
[all …]
H A Drealpath_variation-win32.phpt2 Test realpath() function: usage variation
13 echo "*** Testing realpath(): usage variations ***\n";
33 var_dump( realpath($obj1->filename) );
34 var_dump( realpath($obj2->filename) );
36 echo "\n*** Testing realpath() with filename stored in an array ***\n";
42 var_dump( realpath($file_arr[0]) );
43 var_dump( realpath($file_arr[1]) );
59 var_dump( realpath($file_string[$loop_counter]) );
73 *** Testing realpath(): usage variations ***
75 *** Testing realpath() with filename stored inside a object ***
[all …]
H A Dreadlink_realpath_variation1-win32.phpt2 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";
38 var_dump( realpath($obj1->linkname) );
41 var_dump( realpath($obj2->linkname) );
51 var_dump( realpath($obj1->linkname) );
54 var_dump( realpath($obj2->linkname) );
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 Dreadlink_realpath_variation1.phpt2 Test readlink() and realpath() functions: usage variation - linkname/filename stored in object(Bug …
11 echo "*** Testing readlink() and realpath() : usage variations ***\n";
16 echo "\n*** Testing readlink() and realpath() with linkname stored inside a object ***\n";
35 var_dump( realpath($obj1->linkname) );
38 var_dump( realpath($obj2->linkname) );
48 var_dump( realpath($obj1->linkname) );
51 var_dump( realpath($obj2->linkname) );
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 --
[all …]
H A Dreadlink_realpath_variation3.phpt2 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 …
23 var_dump( realpath($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 ***
H A Dreadlink_realpath_variation2.phpt2 Test readlink() and realpath() functions: usage variation - linkname/filename stored in array(Bug #…
11 echo "*** Testing readlink() and realpath() : usage variations ***\n";
20 echo "\n*** Testing readlink() and realpath() with linkname stored in an array ***\n";
30 var_dump( realpath($link_arr[0]) );
33 var_dump( realpath($link_arr[1]) );
43 var_dump( realpath($link_arr[0]) );
46 var_dump( realpath($link_arr[1]) );
64 *** Testing readlink() and realpath() : usage variations ***
66 *** Testing readlink() and realpath() with linkname stored in an array ***
68 -- Testing readlink() and realpath() with softlink, linkname stored inside an array --
[all …]
H A Dreadlink_realpath_variation2-win32.phpt2 Test readlink() and realpath() functions: usage variation - linkname/filename stored in array(Bug #…
14 echo "*** Testing readlink() and realpath() : usage variations ***\n";
23 echo "\n*** Testing readlink() and realpath() with linkname stored in an array ***\n";
33 var_dump( realpath($link_arr[0]) );
36 var_dump( realpath($link_arr[1]) );
46 var_dump( realpath($link_arr[0]) );
49 var_dump( realpath($link_arr[1]) );
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 --
[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_bug77484.phpt2 Bug #77484 Zend engine crashes when calling realpath in invalid working dir
30 $rp0 = realpath('');
33 $rp1 = realpath('.');
34 $rp2 = realpath('./');
H A Drealpath_variation2.phpt2 Test realpath() function : variation
12 echo "*** Testing realpath() : variation ***\n";
28 var_dump( realpath($path) );
33 *** Testing realpath() : variation ***
H A Dtempnam_variation1-win32-mb.phpt34 …if (realpath($file_dir) == realpath(sys_get_temp_dir()) || realpath($file_dir."\\") == realpath(sy…
37 …else if (realpath($file_dir) == realpath($file_path) || realpath($file_dir."\\") == realpath($file…
H A Dtempnam_variation1-win32.phpt34 …if (realpath($file_dir) == realpath(sys_get_temp_dir()) || realpath($file_dir."\\") == realpath(sy…
37 …else if (realpath($file_dir) == realpath($file_path) || realpath($file_dir."\\") == realpath($file…
H A Drealpath_basic3.phpt2 Test realpath() with relative paths
5 echo "\n*** Testing basic functions of realpath() with files ***\n";
18 echo "\n*** Testing realpath() on filenames ***\n";
41 var_dump( realpath($file) );
58 *** Testing basic functions of realpath() with files ***
60 *** Testing realpath() on filenames ***
H A Drealpath_basic-win32.phpt2 Test realpath() function: basic functionality
11 echo "\n*** Testing basic functions of realpath() with files ***\n";
24 echo "\n*** Testing realpath() on filenames ***\n";
44 var_dump( realpath($file) );
61 *** Testing basic functions of realpath() with files ***
63 *** Testing realpath() on filenames ***
H A Dbug43248.phpt2 Bug #43248 (backward compatibility break in realpath())
5 echo realpath(__DIR__ . '/../file/');
H A Dtempnam_variation8-win32.phpt49 print(realpath($file_name));
60 …if (realpath($file_dir) == realpath(sys_get_temp_dir()) || realpath($file_dir."\\") == realpath(sy…
63 …else if (realpath($file_dir) == realpath($dir_req) || realpath($file_dir."\\") == realpath($dir_re…
H A Dreadlink_realpath_error.phpt2 Test readlink() and realpath() functions: error conditions
20 echo "\n*** Testing realpath() on a non-existent file ***\n";
21 var_dump( realpath(__DIR__."/realpath_error.tmp") );
41 *** Testing realpath() on a non-existent file ***
H A Dreadlink_realpath_error-win32.phpt2 Test readlink() and realpath() functions: error conditions
20 echo "\n*** Testing realpath() on a non-existent file ***\n";
21 var_dump( realpath(__DIR__."/realpath_error.tmp") );
37 *** Testing realpath() on a non-existent file ***
H A Drealpath_basic4.phpt2 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 Drealpath_basic-win32-mb.phpt2 Test realpath() function: basic functionality
11 echo "\n*** Testing basic functions of realpath() with files ***\n";
24 echo "\n*** Testing realpath() on filenames ***\n";
44 var_dump( realpath($file) );
61 *** Testing basic functions of realpath() with files ***
63 *** Testing realpath() on filenames ***
H A Dtempnam_variation2-win32.phpt50 print(realpath($file_name));
61 …if (realpath($file_dir) == realpath(sys_get_temp_dir()) || realpath($file_dir."\\") == realpath(sy…
64 …else if (realpath($file_dir) == realpath($dir_req) || realpath($file_dir."\\") == realpath($dir_re…
/php-src/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-src/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
27 $p = realpath(__DIR__) . DIRECTORY_SEPARATOR . $p;
34 /* path exists now, ensure realpath() works! */
35 $p2 = realpath($p);
37 /* realpath() will cut off the trailing slash */
52 var_dump(file_exists(realpath(__DIR__) . DIRECTORY_SEPARATOR . $s));
/php-src/tests/basic/
H A Dbug54514.phpt5 if(realpath(getenv('TEST_PHP_EXECUTABLE')) === realpath(PHP_BINARY)) {

Completed in 22 milliseconds

12345