/PHP-7.0/main/ |
H A D | fopen_wrappers.h | 33 PHPAPI int php_check_open_basedir(const char *path); 34 PHPAPI int php_check_open_basedir_ex(const char *path, int warn); 35 PHPAPI int php_check_specific_open_basedir(const char *basedir, const char *path); 47 PHPAPI int php_check_safe_mode_include_dir(const char *path); 49 PHPAPI zend_string *php_resolve_path(const char *filename, int filename_len, const char *path); 51 PHPAPI FILE *php_fopen_with_path(const char *filename, const char *mode, const char *path, zend_str… 53 PHPAPI char *php_strip_url_passwd(char *path);
|
/PHP-7.0/ext/standard/tests/file/ |
H A D | glob_variation5.phpt | 7 $path = dirname(__FILE__); 11 var_dump(glob("$path/*.none")); 12 var_dump(glob("$path/?.none")); 13 var_dump(glob("$path/*{hello,world}.none")); 14 var_dump(glob("$path/*/nothere")); 15 var_dump(glob("$path/[aoeu]*.none")); 16 var_dump(glob("$path/directly_not_exists"));
|
/PHP-7.0/ext/standard/tests/url/ |
H A D | parse_url_variation_001.phpt | 85 ["path"]=> 91 ["path"]=> 97 ["path"]=> 103 ["path"]=> 109 ["path"]=> 115 ["path"]=> 121 ["path"]=> 127 ["path"]=> 133 ["path"]=> 164 ["path"]=> [all …]
|
/PHP-7.0/ext/phar/tests/zip/files/ |
H A D | zipmaker.php.inc | 15 protected $path; 16 function __construct($path) 22 $this->path = $path; 27 * @param string relative path within the package 30 function addFile($path, $fileOrStream) 33 $this->zip->addFromString($path, stream_get_contents($fileOrStream)); 35 $this->zip->addFromString($path, $fileOrStream); 45 if (true !== $this->zip->open($this->path, ZIPARCHIVE::CREATE)) { 47 'Cannot open ZIP archive ' . $this->path
|
/PHP-7.0/ext/session/tests/ |
H A D | session_set_save_handler_sid_002.phpt | 16 public $path; 18 public function open($path, $name) { 19 if (!$path) { 20 $path = sys_get_temp_dir(); 22 $this->path = $path . '/u_sess_' . $name; 31 return @file_get_contents($this->path . $id); 35 return file_put_contents($this->path . $id, $data); 39 @unlink($this->path . $id); 43 foreach (glob($this->path . '*') as $filename) {
|
H A D | session_set_save_handler_sid_001.phpt | 16 public $path; 18 public function open($path, $name) { 19 if (!$path) { 20 $path = sys_get_temp_dir(); 22 $this->path = $path . '/u_sess_' . $name; 31 return @file_get_contents($this->path . $id); 36 return (bool)file_put_contents($this->path . $id, $data); 40 @unlink($this->path . $id); 44 foreach (glob($this->path . '*') as $filename) {
|
H A D | session_set_save_handler_iface_003.phpt | 22 public $path; 24 public function open($path, $name) { 25 if (!$path) { 26 $path = sys_get_temp_dir(); 28 $this->path = $path . '/u_sess_' . $name; 37 return @file_get_contents($this->path . $id); 42 return (bool)file_put_contents($this->path . $id, $data); 46 @unlink($this->path . $id); 50 foreach (glob($this->path . '*') as $filename) {
|
H A D | session_set_save_handler_class_016.phpt | 22 public $path; 24 public function open($path, $name) { 25 if (!$path) { 26 $path = sys_get_temp_dir(); 28 $this->path = $path . '/u_sess_' . $name; 37 return @file_get_contents($this->path . $id); 41 return (bool)file_put_contents($this->path . $id, $data); 45 @unlink($this->path . $id); 49 foreach (glob($this->path . '*') as $filename) {
|
H A D | session_set_save_handler_class_017.phpt | 22 public $path; 24 public function open($path, $name) { 25 if (!$path) { 26 $path = sys_get_temp_dir(); 28 $this->path = $path . '/u_sess_' . $name; 37 return @file_get_contents($this->path . $id); 41 return (bool)file_put_contents($this->path . $id, $data); 45 @unlink($this->path . $id); 49 foreach (glob($this->path . '*') as $filename) {
|
H A D | session_set_save_handler_class_018.phpt | 22 public $path; 24 public function open($path, $name) { 25 if (!$path) { 26 $path = sys_get_temp_dir(); 28 $this->path = $path . '/u_sess_' . $name; 37 return @file_get_contents($this->path . $id); 41 return file_put_contents($this->path . $id, $data)===FALSE ? FALSE : TRUE ; 45 @unlink($this->path . $id); 49 foreach (glob($this->path . '*') as $filename) {
|
H A D | session_set_save_handler_iface_002.phpt | 22 public function open($path, $name); 31 public $path; 33 public function open($path, $name) { 34 if (!$path) { 35 $path = sys_get_temp_dir(); 37 $this->path = $path . '/u_sess_' . $name; 46 return @file_get_contents($this->path . $id); 54 @unlink($this->path . $id); 58 foreach (glob($this->path . '*') as $filename) { 70 return file_put_contents($handler->path . $id, $data);
|
H A D | session_set_save_handler_iface_001.phpt | 22 public $path; 24 public function open($path, $name) { 25 if (!$path) { 26 $path = sys_get_temp_dir(); 28 $this->path = $path . '/u_sess_' . $name; 37 return @file_get_contents($this->path . $id); 41 return (bool)file_put_contents($this->path . $id, $data); 45 @unlink($this->path . $id); 49 foreach (glob($this->path . '*') as $filename) {
|
/PHP-7.0/ext/standard/tests/file/windows_acls/ |
H A D | common.inc | 154 if (is_file($path)) { 155 unlink($path); 163 if (is_dir($path)) { 165 rmdir($path); 174 if (!is_writable($path)) { 179 delete_file($path); 183 if (!is_writable($path)) { 188 delete_file($path); 190 $path = __DIR__ . '/adir'; 192 if (!is_writable($path)) { [all …]
|
/PHP-7.0/ext/standard/tests/dir/ |
H A D | scandir_variation4.phpt | 30 echo "\n-- \$path = './level_one': --\n"; 38 echo "\n-- \$path = '..': --\n"; 46 echo "\n-- \$path = '../': --\n"; 50 echo "\n-- \$path = './': --\n"; 71 -- $path = './level_one': -- 86 -- $path = 'level_one/level_two': -- 99 -- $path = '..': -- 114 -- $path = 'level_two', '.': -- 127 -- $path = '../': -- 142 -- $path = './': -- [all …]
|
H A D | opendir_variation3.phpt | 5 /* Prototype : mixed opendir(string $path[, resource $context]) 11 * Call opendir() twice with the same directory as $path argument 16 $path = dirname(__FILE__) . "/opendir_variation3"; 17 mkdir($path); 20 var_dump($dh1 = opendir($path)); 23 var_dump($dh2 = opendir($path)); 37 $path = dirname(__FILE__) . "/opendir_variation3"; 38 rmdir($path);
|
H A D | opendir_error2.phpt | 11 /* Prototype : mixed opendir(string $path[, resource $context]) 17 * Pass a non-existent directory as $path argument to opendir() to test behaviour 22 echo "\n-- Pass a non-existent absolute path: --\n"; 23 $path = dirname(__FILE__) . "/idonotexist"; 24 var_dump(opendir($path)); 26 echo "\n-- Pass a non-existent relative path: --\n"; 34 -- Pass a non-existent absolute path: -- 39 -- Pass a non-existent relative path: --
|
/PHP-7.0/ext/standard/tests/strings/ |
H A D | url_t.phpt | 89 ["path"]=> 94 ["path"]=> 110 ["path"]=> 115 ["path"]=> 124 ["path"]=> 129 ["path"]=> 134 ["path"]=> 150 ["path"]=> 155 ["path"]=> 160 ["path"]=> [all …]
|
/PHP-7.0/ext/zip/ |
H A D | zip_stream.c | 126 const char *path = stream->orig_path; in php_zip_ops_stat() local 135 fragment = strchr(path, '#'); in php_zip_ops_stat() 142 path += 6; in php_zip_ops_stat() 150 path_len = strlen(path); in php_zip_ops_stat() 176 if (path[path_len-1] != '/') { in php_zip_ops_stat() 235 zf = zip_fopen(stream_za, path, 0); in php_stream_zip_open() 261 const char *path, in php_stream_zip_opener() argument 281 fragment = strchr(path, '#'); in php_stream_zip_opener() 287 path += 6; in php_stream_zip_opener() 295 path_len = strlen(path); in php_stream_zip_opener() [all …]
|
/PHP-7.0/ext/phar/tests/tar/files/ |
H A D | tarmaker.php.inc | 17 protected $path; 19 function __construct($path, $compress = 'zlib') 30 $this->path = $path; 38 * @param string relative path within the package 41 function addFile($path, $fileOrStream, $stat = null) 71 if (strlen($path) > 255) { 75 } else if (strlen($path) > 100) { 76 $filePrefix = substr($path, 0, strlen($path)-100); 77 $path = substr($path, -100); 81 $path, [all …]
|
H A D | corrupt_tarmaker.php.inc | 17 protected $path; 19 function __construct($path, $compress = 'zlib') 30 $this->path = $path; 38 * @param string relative path within the package 78 if (strlen($path) > 255) { 82 } else if (strlen($path) > 100) { 83 $filePrefix = substr($path, 0, strlen($path)-100); 84 $path = substr($path, -100); 88 $path, 142 $this->tmp = bzopen($this->path, 'w'); [all …]
|
H A D | make.dangerous.tar.php.inc | 18 protected $path; 20 function __construct($path, $compress = 'zlib') 31 $this->path = $path; 39 * @param string relative path within the package 42 function addFile($path, $fileOrStream, $stat = null) 72 if (strlen($path) > 255) { 76 } else if (strlen($path) > 100) { 77 $filePrefix = substr($path, 0, strlen($path)-100); 78 $path = substr($path, -100); 82 $path, [all …]
|
/PHP-7.0/win32/ |
H A D | registry.c | 182 void UpdateIniFromRegistry(char *path) in UpdateIniFromRegistry() argument 187 if(!path) { in UpdateIniFromRegistry() 218 orig_path = path = estrdup(path); in UpdateIniFromRegistry() 221 p = strchr(path, ':'); in UpdateIniFromRegistry() 226 if (path[0] != '\\' && path[0] != '/') { in UpdateIniFromRegistry() 248 orig_path = path; in UpdateIniFromRegistry() 253 while (path[path_len] != 0) { in UpdateIniFromRegistry() 254 if (path[path_len] == '\\') { in UpdateIniFromRegistry() 255 path[path_len] = '/'; in UpdateIniFromRegistry() 259 zend_str_tolower(path, path_len); in UpdateIniFromRegistry() [all …]
|
/PHP-7.0/sapi/tests/ |
H A D | test004.phpt | 6 path is in PATH_TRANSLATED. SCRIPT_NAME in this is faked, 11 PATH_INFO=/path/info 15 REDIRECT_URL=/path 16 PATH_TRANSLATED=/path/info/fpp 17 PATH_INFO=/path/info 26 /path/info
|
H A D | test003.phpt | 8 PATH_INFO=/path/info 12 PATH_TRANSLATED=/path/bla 13 PATH_INFO=/path/info 14 SCRIPT_NAME=path 21 /path/info
|
/PHP-7.0/ext/zip/lib/ |
H A D | mkstemp.c | 53 _zip_mkstemp(char *path) in _zip_mkstemp() argument 57 ret = _creat(_mktemp(path), _S_IREAD|_S_IWRITE); in _zip_mkstemp() 78 for (trv = path; *trv; ++trv) in _zip_mkstemp() 112 if (trv <= path) in _zip_mkstemp() 116 if (stat(path, &sbuf)) in _zip_mkstemp() 128 if ((fd=open(path, O_CREAT|O_EXCL|O_RDWR|O_BINARY, 0600)) >= 0) in _zip_mkstemp()
|