/PHP-7.0/ext/standard/tests/strings/ |
H A D | dirname_multi.phpt | 10 /* Prototype: string dirname ( string $path [, int nb]); 11 Description: Returns directory name component of path.
|
/PHP-7.0/ext/standard/ |
H A D | filestat.c | 139 if (func(path, in php_disk_total_space() 152 if (GetDiskFreeSpace(path, in php_disk_total_space() 173 char drive = path[0] & 95; 193 if (statvfs(path, &buf)) { 204 if (statfs(path, &buf)) { 223 char *path; in PHP_FUNCTION() local 271 if (func(path, in php_disk_free_space() 305 char drive = path[0] & 95; 325 if (statvfs(path, &buf)) { 335 if (statfs(path, &buf)) { [all …]
|
/PHP-7.0/ext/standard/tests/file/ |
H A D | readlink_realpath_basic2.phpt | 2 Test readlink() and realpath functions: basic functionality - diff. path notation for files 11 /* Prototype: string readlink ( string $path ); 14 Prototype: string realpath ( string $path ); 37 /* filenames with invalid path */
|
H A D | userdirstream.phpt | 8 function dir_opendir($path, $options) { 37 var_dump(scandir('test://example.com/path/to/test'));
|
H A D | pathinfo_error.phpt | 5 /* Prototype: mixed pathinfo ( string $path [, int $options] ); 6 Description: Returns information about a file path
|
H A D | pathinfo_basic2.phpt | 12 /* Prototype: mixed pathinfo ( string $path [, int $options] ); 13 Description: Returns information about a file path 38 /* loop through $paths to test each $path in the above array */ 39 foreach($paths as $path) { 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) );
|
/PHP-7.0/sapi/fpm/fpm/ |
H A D | fpm_main.c | 210 #define TRANSLATE_SLASHES(path) \ argument 212 char *tmp = path; \ 219 #define TRANSLATE_SLASHES(path) argument 701 path = real_path; 707 s2 = path; 710 s1 = path; 775 path = emalloc(path_len + 2); 783 path[path_len] = 0; 809 efree(path); 928 if (!path) { [all …]
|
/PHP-7.0/ext/mbstring/ucgendat/ |
H A D | ucgendat.c | 1303 char path[BUFSIZ]; in write_cdata() local 1316 snprintf(path, sizeof path, "%s" LDAP_DIRSEP "uctable.h", opath); in write_cdata() 1317 if ((out = fopen(path, "w")) == 0) in write_cdata() 1323 snprintf(path, sizeof path, "%s" LDAP_DIRSEP "ctype.dat", opath); in write_cdata() 1324 if ((out = fopen(path, "wb")) == 0) in write_cdata() 1474 snprintf(path, sizeof path, "%s" LDAP_DIRSEP "case.dat", opath); in write_cdata() 1553 snprintf(path, sizeof path, "%s" LDAP_DIRSEP "comp.dat", opath); in write_cdata() 1629 snprintf(path, sizeof path, "%s" LDAP_DIRSEP "decomp.dat", opath); in write_cdata() 1722 snprintf(path, sizeof path, "%s" LDAP_DIRSEP "kdecomp.dat", opath); in write_cdata() 1802 snprintf(path, sizeof path, "%s" LDAP_DIRSEP "cmbcl.dat", opath); in write_cdata() [all …]
|
/PHP-7.0/ext/session/tests/ |
H A D | session_set_save_handler_variation2.phpt | 19 $path = dirname(__FILE__); 20 session_save_path($path);
|
H A D | session_set_save_handler_variation3.phpt | 21 $path = dirname(__FILE__); 22 session_save_path($path);
|
H A D | session_save_path_variation1.phpt | 16 * Prototype : string session_save_path([string $path]) 17 * Description : Get and/or set the current session save path
|
/PHP-7.0/ext/pdo_odbc/tests/ |
H A D | common.phpt | 49 $path = realpath(dirname(__FILE__)) . '\pdo_odbc.mdb'; 50 if (!file_exists($path)) { 54 $adox->Create('Provider=Microsoft.Jet.OLEDB.4.0;Data Source=' . $path); 60 if (file_exists($path)) { 62 …$config['ENV']['PDOTEST_DSN'] = "odbc:Driver={Microsoft Access Driver (*.mdb)};Dbq=$path;Uid=Admin…
|
/PHP-7.0/ext/curl/tests/ |
H A D | curl_basic_022.phpt | 14 …PT_COOKIELIST, 'Set-Cookie: C1=v1; expires=Thu, 31-Dec-2037 23:59:59 GMT; path=/; domain=.php.net'… 15 …PT_COOKIELIST, 'Set-Cookie: C2=v2; expires=Thu, 31-Dec-2037 23:59:59 GMT; path=/; domain=.php.net'…
|
/PHP-7.0/ext/wddx/tests/ |
H A D | 001-64bit.phpt | 10 $path = dirname(__FILE__); 11 var_dump(wddx_deserialize(file_get_contents("{$path}/wddx.xml")));
|
H A D | 001.phpt | 10 $path = dirname(__FILE__); 11 var_dump(wddx_deserialize(file_get_contents("{$path}/wddx.xml")));
|
/PHP-7.0/ext/phar/tests/cache_list/files/ |
H A D | nophar.phar | 175 foreach ($info['m'] as $path => $file) { 176 $a = !file_exists(dirname($temp . '/' . $path)); 177 @mkdir(dirname($temp . '/' . $path), 0777, true); 180 if ($path[strlen($path) - 1] == '/') { 181 @mkdir($temp . '/' . $path, 0777); 183 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp)); 184 @chmod($temp . '/' . $path, 0666); 239 static function extractFile($path, $entry, $fp)
|
H A D | openssl.phar | 175 foreach ($info['m'] as $path => $file) { 176 $a = !file_exists(dirname($temp . '/' . $path)); 177 @mkdir(dirname($temp . '/' . $path), 0777, true); 180 if ($path[strlen($path) - 1] == '/') { 181 @mkdir($temp . '/' . $path, 0777); 183 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp)); 184 @chmod($temp . '/' . $path, 0666); 239 static function extractFile($path, $entry, $fp)
|
/PHP-7.0/ext/phar/tests/files/ |
H A D | include_path2.phar | 175 foreach ($info['m'] as $path => $file) { 176 $a = !file_exists(dirname($temp . '/' . $path)); 177 @mkdir(dirname($temp . '/' . $path), 0777, true); 180 if ($path[strlen($path) - 1] == '/') { 181 @mkdir($temp . '/' . $path, 0777); 183 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp)); 184 @chmod($temp . '/' . $path, 0666); 239 static function extractFile($path, $entry, $fp)
|
H A D | nophar.phar | 175 foreach ($info['m'] as $path => $file) { 176 $a = !file_exists(dirname($temp . '/' . $path)); 177 @mkdir(dirname($temp . '/' . $path), 0777, true); 180 if ($path[strlen($path) - 1] == '/') { 181 @mkdir($temp . '/' . $path, 0777); 183 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp)); 184 @chmod($temp . '/' . $path, 0666); 239 static function extractFile($path, $entry, $fp)
|
H A D | openssl.phar | 175 foreach ($info['m'] as $path => $file) { 176 $a = !file_exists(dirname($temp . '/' . $path)); 177 @mkdir(dirname($temp . '/' . $path), 0777, true); 180 if ($path[strlen($path) - 1] == '/') { 181 @mkdir($temp . '/' . $path, 0777); 183 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp)); 184 @chmod($temp . '/' . $path, 0666); 239 static function extractFile($path, $entry, $fp)
|
/PHP-7.0/sapi/phpdbg/ |
H A D | phpdbg_webdata_transfer.c | 106 char path[MAXPATHLEN]; in phpdbg_webdata_compress() local 109 ret = VCWD_GETCWD(path, MAXPATHLEN); in phpdbg_webdata_compress() 111 ret = VCWD_GETWD(path); in phpdbg_webdata_compress() 114 ZVAL_STRING(&zv[5], path); in phpdbg_webdata_compress()
|
/PHP-7.0/sapi/cli/tests/ |
H A D | 003.phpt | 18 var_dump(`$php -n -d upload_tmp_dir=/test/path -d max_execution_time=555 -r 'var_dump(ini_get("max_… 30 string(10) "/test/path"
|
/PHP-7.0/ext/gettext/tests/ |
H A D | gettext_bindtextdomain-cwd.phpt | 2 Test if bindtextdomain() returns string id if no directory path is set(if directory path is 'null')
|
/PHP-7.0/ext/standard/tests/streams/ |
H A D | bug72771.phpt | 14 $path="ftps://127.0.0.1:" . $port."/"; 16 $ds=opendir($path, $context);
|
H A D | opendir-004.phpt | 15 $path="ftps://127.0.0.1:" . $port."/"; 19 $ds=opendir($path, $context);
|