Home
last modified time | relevance | path

Searched refs:path (Results 201 – 225 of 655) sorted by relevance

12345678910>>...27

/PHP-5.4/main/
H A Dphp_open_temporary_file.c97 static int php_do_open_temporary_file(const char *path, const char *pfx, char **opened_path_p TSRML… in php_do_open_temporary_file() argument
112 if (!path || !path[0]) { in php_do_open_temporary_file()
130 if (virtual_file_ex(&new_state, path, NULL, CWD_REALPATH TSRMLS_CC)) { in php_do_open_temporary_file()
H A Dwin95nt.h46 #define chdir(path) _chdir(path) argument
/PHP-5.4/ext/standard/tests/file/
H A Dreadlink_realpath_basic2.phpt2 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 Dpathinfo_error.phpt5 /* Prototype: mixed pathinfo ( string $path [, int $options] );
6 Description: Returns information about a file path
H A Duserdirstream.phpt8 function dir_opendir($path, $options) {
37 var_dump(scandir('test://example.com/path/to/test'));
H A Dpathinfo_basic2.phpt12 /* 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-5.4/ext/standard/tests/strings/
H A Ddirname_error.phpt5 /* Prototype: string dirname ( string $path );
6 Description: Returns directory name component of path.
/PHP-5.4/ext/session/tests/
H A Dsession_save_path_basic.phpt15 * Prototype : string session_save_path([string $path])
16 * Description : Get and/or set the current session save path
H A Dsession_set_save_handler_variation2.phpt19 $path = dirname(__FILE__);
20 session_save_path($path);
H A Dsession_set_save_handler_variation3.phpt21 $path = dirname(__FILE__);
22 session_save_path($path);
H A Dsession_save_path_variation1.phpt15 * Prototype : string session_save_path([string $path])
16 * Description : Get and/or set the current session save path
/PHP-5.4/ext/phar/tests/cache_list/files/
H A Dnophar.phar175 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 Dopenssl.phar175 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-5.4/ext/phar/tests/files/
H A Dinclude_path2.phar175 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 Dnophar.phar175 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 Dopenssl.phar175 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-5.4/sapi/fpm/fpm/
H A Dfpm_php.c233 int fpm_php_limit_extensions(char *path) /* {{{ */ in fpm_php_limit_extensions() argument
238 if (!path || !limit_extensions) { in fpm_php_limit_extensions()
243 path_len = strlen(path); in fpm_php_limit_extensions()
247 char *path_ext = path + path_len - ext_len; in fpm_php_limit_extensions()
256 …og(ZLOG_NOTICE, "Access to the script '%s' has been denied (see security.limit_extensions)", path); in fpm_php_limit_extensions()
/PHP-5.4/ext/pdo_odbc/tests/
H A Dcommon.phpt49 $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-5.4/ext/standard/
H A Dfilestat.c151 if (func(path, in php_disk_total_space()
164 if (GetDiskFreeSpace(path, in php_disk_total_space()
185 char drive = path[0] & 95;
205 if (statvfs(path, &buf)) {
216 if (statfs(path, &buf)) {
235 char *path; in PHP_FUNCTION() local
283 if (func(path, in php_disk_free_space()
317 char drive = path[0] & 95;
337 if (statvfs(path, &buf)) {
347 if (statfs(path, &buf)) {
[all …]
H A Durl.c52 if (theurl->path) in php_url_free()
53 efree(theurl->path); in php_url_free()
328 ret->path = estrndup(s, (pp-s)); in php_url_parse_ex()
336 ret->path = estrndup(s, (p-s)); in php_url_parse_ex()
337 php_replace_controlchars_ex(ret->path, (p - s)); in php_url_parse_ex()
353 ret->path = estrndup(s, (p-s)); in php_url_parse_ex()
354 php_replace_controlchars_ex(ret->path, (p - s)); in php_url_parse_ex()
365 ret->path = estrndup(s, (ue-s)); in php_url_parse_ex()
366 php_replace_controlchars_ex(ret->path, (ue - s)); in php_url_parse_ex()
410 if (resource->path != NULL) RETVAL_STRING(resource->path, 1); in PHP_FUNCTION()
[all …]
/PHP-5.4/ext/wddx/tests/
H A D001-64bit.phpt10 $path = dirname(__FILE__);
11 var_dump(wddx_deserialize(file_get_contents("{$path}/wddx.xml")));
H A D001.phpt10 $path = dirname(__FILE__);
11 var_dump(wddx_deserialize(file_get_contents("{$path}/wddx.xml")));
/PHP-5.4/sapi/cli/tests/
H A D003.phpt18 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-5.4/ext/
H A Dext_skel_win32.php21 $path = getenv("PATH"); variable
22 putenv("PATH=$cygwin_path;$path");
/PHP-5.4/ext/gettext/tests/
H A Dgettext_bindtextdomain-cwd.phpt2 Test if bindtextdomain() returns string id if no directory path is set(if directory path is 'null')

Completed in 47 milliseconds

12345678910>>...27