/PHP-7.0/ext/standard/tests/strings/ |
H A D | pathinfo.phpt | 2 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 D | bug24098.phpt | 2 Bug #24098 (pathinfo() crash) 7 var_dump(pathinfo("/dsds.asa"));
|
/PHP-7.0/ext/standard/tests/file/ |
H A D | pathinfo_variation3.phpt | 2 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 D | pathinfo_error.phpt | 2 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 D | pathinfo_variation2.phpt | 2 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 D | pathinfo_variation1.phpt | 2 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 D | pathinfo_variaton.phpt | 2 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 D | pathinfo_basic2-win32.phpt | 2 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 D | pathinfo_basic2.phpt | 2 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 D | pathinfo_basic1-win32.phpt | 2 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 D | pathinfo_basic.phpt | 2 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 D | pathinfo_basic1.phpt | 2 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 D | 022.phpt | 11 $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 D | func.inc | 145 $pathinfo = pathinfo($_SERVER['SCRIPT_FILENAME']); 146 $filename = "{$pathinfo['dirname']}/{$pathinfo['filename']}.out.png";
|
/PHP-7.0/ext/spl/tests/ |
H A D | SplFileInfo_getExtension_basic.phpt | 10 var_dump($info->getExtension(), pathinfo($file . $ext, PATHINFO_EXTENSION));
|
H A D | DirectoryIterator_getExtension_basic.phpt | 28 $nfo_exts[] = pathinfo($file->getFilename(), PATHINFO_EXTENSION);
|
/PHP-7.0/ext/standard/ |
H A D | php_string.h | 46 PHP_FUNCTION(pathinfo);
|
/PHP-7.0/ext/phar/ |
H A D | shortarc.php | 80 $b = pathinfo($a);
|
/PHP-7.0/ext/phar/tests/ |
H A D | phar_setdefaultstub.phpt | 136 $b = pathinfo($a); 431 $b = pathinfo($a); 726 $b = pathinfo($a);
|
H A D | phar_createdefaultstub.phpt | 116 $b = pathinfo($a); 410 $b = pathinfo($a); 712 $b = pathinfo($a);
|
/PHP-7.0/ |
H A D | README.TESTING2 | 109 PATH_INFO The pathinfo part of a request url
|
/PHP-7.0/ext/phar/tests/cache_list/files/ |
H A D | nophar.phar | 80 $b = pathinfo($a);
|
H A D | openssl.phar | 80 $b = pathinfo($a);
|
/PHP-7.0/ext/phar/tests/files/ |
H A D | include_path2.phar | 80 $b = pathinfo($a);
|
H A D | nophar.phar | 80 $b = pathinfo($a);
|