Home
last modified time | relevance | path

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

12

/php-src/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-src/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";
66 var_dump( pathinfo($path) );
67 var_dump( pathinfo($path, PATHINFO_DIRNAME) );
68 var_dump( pathinfo($path, PATHINFO_BASENAME) );
69 var_dump( pathinfo($path, PATHINFO_EXTENSION) );
70 var_dump( pathinfo($path, PATHINFO_FILENAME) );
77 *** 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-src/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-src/ext/gd/tests/
H A Dfunc.inc145 $pathinfo = pathinfo($_SERVER['SCRIPT_FILENAME']);
146 $filename = "{$pathinfo['dirname']}/{$pathinfo['filename']}.out.png";
/php-src/ext/session/tests/user_session_module/
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.phpt51 return pathinfo(__FILE__)['filename'];
H A Dsession_set_save_handler_sid_001.phpt50 return pathinfo(__FILE__)['filename'];
/php-src/ext/opcache/tests/
H A Dopcache_invalidate_deleted_file.phpt12 $file = __DIR__ . DIRECTORY_SEPARATOR . pathinfo(__FILE__, PATHINFO_FILENAME) . '.inc';
/php-src/ext/spl/tests/
H A DSplFileInfo_getExtension_basic-win32.phpt14 var_dump($info->getExtension(), pathinfo($file . $ext, PATHINFO_EXTENSION));
H A DSplFileInfo_getExtension_basic.phpt14 var_dump($info->getExtension(), pathinfo($file . $ext, PATHINFO_EXTENSION));
H A DDirectoryIterator_getExtension_basic.phpt25 $nfo_exts[] = pathinfo($file->getFilename(), PATHINFO_EXTENSION);
/php-src/ext/phar/
H A Dshortarc.php80 $b = pathinfo($a);
/php-src/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-src/ext/phar/tests/files/
H A Dopenssl.phar80 $b = pathinfo($a);
H A Dopenssl256.phar80 $b = pathinfo($a);
H A Dopenssl512.phar80 $b = pathinfo($a);

Completed in 35 milliseconds

12