/PHP-5.4/main/ |
H A D | php_open_temporary_file.c | 97 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 D | win95nt.h | 46 #define chdir(path) _chdir(path) argument
|
/PHP-5.4/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 | pathinfo_error.phpt | 5 /* Prototype: mixed pathinfo ( string $path [, int $options] ); 6 Description: Returns information about a file 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_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-5.4/ext/standard/tests/strings/ |
H A D | dirname_error.phpt | 5 /* Prototype: string dirname ( string $path ); 6 Description: Returns directory name component of path.
|
/PHP-5.4/ext/session/tests/ |
H A D | session_save_path_basic.phpt | 15 * Prototype : string session_save_path([string $path]) 16 * Description : Get and/or set the current session save path
|
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 | 15 * 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 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-5.4/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-5.4/sapi/fpm/fpm/ |
H A D | fpm_php.c | 233 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 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-5.4/ext/standard/ |
H A D | filestat.c | 151 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 D | url.c | 52 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 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-5.4/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-5.4/ext/ |
H A D | ext_skel_win32.php | 21 $path = getenv("PATH"); variable 22 putenv("PATH=$cygwin_path;$path");
|
/PHP-5.4/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')
|