Home
last modified time | relevance | path

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

12

/PHP-7.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("./"));
12 var_dump(pathinfo("/."));
96 string(12) "pathinfo.php"
97 string(8) "pathinfo"
[all …]
H A Dbug24098.phpt2 Bug #24098 (pathinfo() crash)
7 var_dump(pathinfo("/dsds.asa"));
/PHP-7.0/ext/standard/tests/file/
H A Dpathinfo_variation3.phpt2 Test pathinfo() function : usage variation
7 /* Prototype : array pathinfo(string path[, int options])
13 echo "*** Testing pathinfo() : usage variation ***\n";
17 var_dump(pathinfo("./"));
18 var_dump(pathinfo("/."));
19 var_dump(pathinfo(".cvsignore"));
20 var_dump(pathinfo($testfile, PATHINFO_BASENAME));
21 var_dump(pathinfo($testfile, PATHINFO_FILENAME));
22 var_dump(pathinfo($testfile, PATHINFO_EXTENSION));
23 var_dump(pathinfo($testfile, PATHINFO_DIRNAME));
[all …]
H A Dpathinfo_error.phpt2 Test pathinfo() function: error conditions
5 /* Prototype: mixed pathinfo ( string $path [, int $options] );
9 echo "*** Testing pathinfo() for error conditions ***\n";
11 var_dump( pathinfo() ); /* args < expected */
12 var_dump( pathinfo("/home/1.html", 1, 3) ); /* args > expected */
17 *** Testing pathinfo() for error conditions ***
19 Warning: pathinfo() expects at least 1 parameter, 0 given in %s on line %d
22 Warning: pathinfo() expects at most 2 parameters, 3 given in %s on line %d
H A Dpathinfo_variation2.phpt2 Test pathinfo() function : usage variation
9 /* Prototype : array pathinfo(string path[, int options])
15 echo "*** Testing pathinfo() : usage variation ***\n";
105 var_dump( pathinfo($path, $value) );
111 *** Testing pathinfo() : usage variation ***
129 Error: 2 - pathinfo() expects parameter 2 to be integer, array given, %s(%d)
133 Error: 2 - pathinfo() expects parameter 2 to be integer, array given, %s(%d)
137 Error: 2 - pathinfo() expects parameter 2 to be integer, array given, %s(%d)
141 Error: 2 - pathinfo() expects parameter 2 to be integer, array given, %s(%d)
163 Error: 2 - pathinfo() expects parameter 2 to be integer, string given, %s(%d)
[all …]
H A Dpathinfo_variation1.phpt2 Test pathinfo() function : usage variation
7 /* Prototype : array pathinfo(string path[, int options])
13 echo "*** Testing pathinfo() : usage variation ***\n";
103 var_dump( pathinfo($value, $options) );
109 *** Testing pathinfo() : usage variation ***
139 Error: 2 - pathinfo() expects parameter 1 to be string, array given, %s(%d)
143 Error: 2 - pathinfo() expects parameter 1 to be string, array given, %s(%d)
147 Error: 2 - pathinfo() expects parameter 1 to be string, array given, %s(%d)
151 Error: 2 - pathinfo() expects parameter 1 to be string, array given, %s(%d)
182 Error: 2 - pathinfo() expects parameter 1 to be string, object given, %s(%d)
H A Dpathinfo_variaton.phpt2 Test pathinfo() function: usage variations
5 /* Prototype: mixed pathinfo ( string $path [, int $options] );
9 echo "*** Testing pathinfo() with miscelleneous input arguments ***\n";
83 var_dump( pathinfo($path) );
84 var_dump( pathinfo($path, PATHINFO_DIRNAME) );
85 var_dump( pathinfo($path, PATHINFO_BASENAME) );
86 var_dump( pathinfo($path, PATHINFO_EXTENSION) );
87 var_dump( pathinfo($path, PATHINFO_FILENAME) );
94 *** Testing pathinfo() with miscelleneous input arguments ***
203 Warning: pathinfo() expects parameter 1 to be string, object given in %s on line %d
[all …]
H A Dpathinfo_basic2-win32.phpt2 Test pathinfo() function: basic functionality
12 /* Prototype: mixed pathinfo ( string $path [, int $options] );
16 echo "*** Testing basic functions of pathinfo() ***\n";
41 var_dump( pathinfo($path, PATHINFO_DIRNAME) );
42 var_dump( pathinfo($path, PATHINFO_BASENAME) );
43 var_dump( pathinfo($path, PATHINFO_EXTENSION) );
44 var_dump( pathinfo($path, PATHINFO_FILENAME) );
45 var_dump( pathinfo($path) );
52 *** Testing basic functions of pathinfo() ***
H A Dpathinfo_basic2.phpt2 Test pathinfo() function: basic functionality
12 /* Prototype: mixed pathinfo ( string $path [, int $options] );
16 echo "*** Testing basic functions of pathinfo() ***\n";
41 var_dump( pathinfo($path, PATHINFO_DIRNAME) );
42 var_dump( pathinfo($path, PATHINFO_BASENAME) );
43 var_dump( pathinfo($path, PATHINFO_EXTENSION) );
44 var_dump( pathinfo($path, PATHINFO_FILENAME) );
45 var_dump( pathinfo($path) );
52 *** Testing basic functions of pathinfo() ***
H A Dpathinfo_basic1-win32.phpt2 Test pathinfo() function: basic functionality
12 /* Prototype: mixed pathinfo ( string $path [, int $options] );
16 echo "*** Testing basic functions of pathinfo() ***\n";
64 var_dump( pathinfo($path, PATHINFO_DIRNAME) );
65 var_dump( pathinfo($path, PATHINFO_BASENAME) );
66 var_dump( pathinfo($path, PATHINFO_EXTENSION) );
67 var_dump( pathinfo($path, PATHINFO_FILENAME) );
68 var_dump( pathinfo($path) );
75 *** Testing basic functions of pathinfo() ***
H A Dpathinfo_basic.phpt2 Test pathinfo() function: basic functionality
5 /* Prototype: mixed pathinfo ( string $path [, int $options] );
9 echo "*** Testing basic functions of pathinfo() ***\n";
58 var_dump( pathinfo($path, PATHINFO_DIRNAME) );
59 var_dump( pathinfo($path, PATHINFO_BASENAME) );
60 var_dump( pathinfo($path, PATHINFO_EXTENSION) );
61 var_dump( pathinfo($path, PATHINFO_FILENAME) );
62 var_dump( pathinfo($path) );
69 *** Testing basic functions of pathinfo() ***
H A Dpathinfo_basic1.phpt2 Test pathinfo() function: basic functionality
12 /* Prototype: mixed pathinfo ( string $path [, int $options] );
16 echo "*** Testing basic functions of pathinfo() ***\n";
64 var_dump( pathinfo($path, PATHINFO_DIRNAME) );
65 var_dump( pathinfo($path, PATHINFO_BASENAME) );
66 var_dump( pathinfo($path, PATHINFO_EXTENSION) );
67 var_dump( pathinfo($path, PATHINFO_FILENAME) );
68 var_dump( pathinfo($path) );
75 *** Testing basic functions of pathinfo() ***
/PHP-7.0/sapi/cli/tests/
H A D022.phpt11 $socket_file = tempnam(sys_get_temp_dir(), pathinfo(__FILE__, PATHINFO_FILENAME) . '.sock');
12 $test_file = dirname(__FILE__) . '/' . pathinfo(__FILE__, PATHINFO_FILENAME) . '.inc';
/PHP-7.0/ext/gd/tests/
H A Dfunc.inc145 $pathinfo = pathinfo($_SERVER['SCRIPT_FILENAME']);
146 $filename = "{$pathinfo['dirname']}/{$pathinfo['filename']}.out.png";
/PHP-7.0/ext/spl/tests/
H A DSplFileInfo_getExtension_basic.phpt10 var_dump($info->getExtension(), pathinfo($file . $ext, PATHINFO_EXTENSION));
H A DDirectoryIterator_getExtension_basic.phpt28 $nfo_exts[] = pathinfo($file->getFilename(), PATHINFO_EXTENSION);
/PHP-7.0/ext/standard/
H A Dphp_string.h46 PHP_FUNCTION(pathinfo);
/PHP-7.0/ext/phar/
H A Dshortarc.php80 $b = pathinfo($a);
/PHP-7.0/ext/phar/tests/
H A Dphar_setdefaultstub.phpt136 $b = pathinfo($a);
431 $b = pathinfo($a);
726 $b = pathinfo($a);
H A Dphar_createdefaultstub.phpt116 $b = pathinfo($a);
410 $b = pathinfo($a);
712 $b = pathinfo($a);
/PHP-7.0/
H A DREADME.TESTING2109 PATH_INFO The pathinfo part of a request url
/PHP-7.0/ext/phar/tests/cache_list/files/
H A Dnophar.phar80 $b = pathinfo($a);
H A Dopenssl.phar80 $b = pathinfo($a);
/PHP-7.0/ext/phar/tests/files/
H A Dinclude_path2.phar80 $b = pathinfo($a);
H A Dnophar.phar80 $b = pathinfo($a);

Completed in 40 milliseconds

12