Home
last modified time | relevance | path

Searched refs:pathinfo (Results 1 – 25 of 31) sorted by relevance

12

/PHP-8.0/ext/standard/tests/strings/
H A Dpathinfo.phpt2 pathinfo() tests
6 var_dump(pathinfo(""));
7 var_dump(pathinfo("."));
8 var_dump(pathinfo(".."));
9 var_dump(pathinfo("/"));
10 var_dump(pathinfo("./"));
11 var_dump(pathinfo("/."));
93 string(12) "pathinfo.php"
94 string(8) "pathinfo"
98 string(12) "pathinfo.php"
[all …]
H A Dbug24098.phpt2 Bug #24098 (pathinfo() crash)
5 var_dump(pathinfo("/dsds.asa"));
/PHP-8.0/ext/standard/tests/file/
H A Dpathinfo_variation3.phpt2 Test pathinfo() function : usage variation
7 echo "*** Testing pathinfo() : usage variation ***\n";
11 var_dump(pathinfo("./"));
12 var_dump(pathinfo("/."));
13 var_dump(pathinfo(".cvsignore"));
14 var_dump(pathinfo($testfile, PATHINFO_BASENAME));
15 var_dump(pathinfo($testfile, PATHINFO_FILENAME));
16 var_dump(pathinfo($testfile, PATHINFO_EXTENSION));
17 var_dump(pathinfo($testfile, PATHINFO_DIRNAME));
22 var_dump(pathinfo($testfile, PATHINFO_FILENAME|PATHINFO_DIRNAME));
[all …]
H A Dpathinfo_basic2-win32.phpt2 Test pathinfo() function: basic functionality
12 echo "*** Testing basic functions of pathinfo() ***\n";
37 var_dump( pathinfo($path, PATHINFO_DIRNAME) );
38 var_dump( pathinfo($path, PATHINFO_BASENAME) );
39 var_dump( pathinfo($path, PATHINFO_EXTENSION) );
40 var_dump( pathinfo($path, PATHINFO_FILENAME) );
41 var_dump( pathinfo($path) );
48 *** Testing basic functions of pathinfo() ***
H A Dpathinfo_basic2.phpt2 Test pathinfo() function: basic functionality
12 echo "*** Testing basic functions of pathinfo() ***\n";
37 var_dump( pathinfo($path, PATHINFO_DIRNAME) );
38 var_dump( pathinfo($path, PATHINFO_BASENAME) );
39 var_dump( pathinfo($path, PATHINFO_EXTENSION) );
40 var_dump( pathinfo($path, PATHINFO_FILENAME) );
41 var_dump( pathinfo($path) );
48 *** Testing basic functions of pathinfo() ***
H A Dpathinfo_variaton.phpt2 Test pathinfo() function: usage variations
5 echo "*** Testing pathinfo() with miscellaneous input arguments ***\n";
76 var_dump( pathinfo($path) );
77 var_dump( pathinfo($path, PATHINFO_DIRNAME) );
78 var_dump( pathinfo($path, PATHINFO_BASENAME) );
79 var_dump( pathinfo($path, PATHINFO_EXTENSION) );
80 var_dump( pathinfo($path, PATHINFO_FILENAME) );
87 *** Testing pathinfo() with miscellaneous input arguments ***
H A Dpathinfo_basic.phpt2 Test pathinfo() function: basic functionality
5 echo "*** Testing basic functions of pathinfo() ***\n";
54 var_dump( pathinfo($path, PATHINFO_DIRNAME) );
55 var_dump( pathinfo($path, PATHINFO_BASENAME) );
56 var_dump( pathinfo($path, PATHINFO_EXTENSION) );
57 var_dump( pathinfo($path, PATHINFO_FILENAME) );
58 var_dump( pathinfo($path) );
65 *** Testing basic functions of pathinfo() ***
H A Dpathinfo_basic1-win32.phpt2 Test pathinfo() function: basic functionality
12 echo "*** Testing basic functions of pathinfo() ***\n";
60 var_dump( pathinfo($path, PATHINFO_DIRNAME) );
61 var_dump( pathinfo($path, PATHINFO_BASENAME) );
62 var_dump( pathinfo($path, PATHINFO_EXTENSION) );
63 var_dump( pathinfo($path, PATHINFO_FILENAME) );
64 var_dump( pathinfo($path) );
71 *** Testing basic functions of pathinfo() ***
H A Dpathinfo_basic1.phpt2 Test pathinfo() function: basic functionality
12 echo "*** Testing basic functions of pathinfo() ***\n";
60 var_dump( pathinfo($path, PATHINFO_DIRNAME) );
61 var_dump( pathinfo($path, PATHINFO_BASENAME) );
62 var_dump( pathinfo($path, PATHINFO_EXTENSION) );
63 var_dump( pathinfo($path, PATHINFO_FILENAME) );
64 var_dump( pathinfo($path) );
71 *** Testing basic functions of pathinfo() ***
/PHP-8.0/sapi/cli/tests/
H A D022.phpt11 $socket_file = tempnam(sys_get_temp_dir(), pathinfo(__FILE__, PATHINFO_FILENAME) . '.sock');
12 $test_file = __DIR__ . '/' . pathinfo(__FILE__, PATHINFO_FILENAME) . '.inc';
/PHP-8.0/ext/gd/tests/
H A Dfunc.inc145 $pathinfo = pathinfo($_SERVER['SCRIPT_FILENAME']);
146 $filename = "{$pathinfo['dirname']}/{$pathinfo['filename']}.out.png";
/PHP-8.0/ext/session/tests/
H A Dsession_set_save_handler_class_018.phpt52 return pathinfo(__FILE__)['filename'];
56 return pathinfo(__FILE__)['filename']===$id;
H A Dsession_set_save_handler_class_017.phpt52 return pathinfo(__FILE__)['filename'];
H A Dsession_set_save_handler_iface_003.phpt53 return pathinfo(__FILE__)['filename'];
H A Dsession_set_save_handler_sid_001.phpt53 return pathinfo(__FILE__)['filename'];
/PHP-8.0/ext/spl/tests/
H A DSplFileInfo_getExtension_basic.phpt10 var_dump($info->getExtension(), pathinfo($file . $ext, PATHINFO_EXTENSION));
H A DDirectoryIterator_getExtension_basic.phpt25 $nfo_exts[] = pathinfo($file->getFilename(), PATHINFO_EXTENSION);
/PHP-8.0/ext/phar/
H A Dshortarc.php80 $b = pathinfo($a);
/PHP-8.0/ext/phar/tests/
H A Dphar_createdefaultstub.phpt115 $b = pathinfo($a);
409 $b = pathinfo($a);
711 $b = pathinfo($a);
H A Dphar_setdefaultstub.phpt135 $b = pathinfo($a);
430 $b = pathinfo($a);
725 $b = pathinfo($a);
/PHP-8.0/ext/phar/tests/cache_list/files/
H A Dnophar.phar80 $b = pathinfo($a);
H A Dopenssl.phar80 $b = pathinfo($a);
/PHP-8.0/ext/phar/tests/files/
H A Dinclude_path2.phar80 $b = pathinfo($a);
H A Dnophar.phar80 $b = pathinfo($a);
H A Dopenssl.phar80 $b = pathinfo($a);

Completed in 38 milliseconds

12