/PHP-5.5/ext/standard/tests/dir/ |
H A D | opendir_variation1.phpt | 24 $path = dirname(__FILE__) . "/opendir_variation1"; 25 mkdir($path); 34 var $path; 35 function __construct($path) { 36 $this->path = $path; 39 return $this->path; 45 $path 51 // unexpected values to be passed to $path argument 83 /*19*/ "$path", 88 /*22*/ new classA($path), [all …]
|
/PHP-5.5/ext/standard/ |
H A D | php_fopen_wrapper.c | 169 if (!strncasecmp(path, "php://", 6)) { in php_stream_url_wrap_php() 170 path += 6; in php_stream_url_wrap_php() 173 if (!strncasecmp(path, "temp", 4)) { in php_stream_url_wrap_php() 174 path += 4; in php_stream_url_wrap_php() 177 path += 11; in php_stream_url_wrap_php() 192 if (!strcasecmp(path, "memory")) { in php_stream_url_wrap_php() 201 if (!strcasecmp(path, "output")) { in php_stream_url_wrap_php() 205 if (!strcasecmp(path, "input")) { in php_stream_url_wrap_php() 215 if (!strcasecmp(path, "stdin")) { in php_stream_url_wrap_php() 280 start = &path[3]; in php_stream_url_wrap_php() [all …]
|
/PHP-5.5/ext/ftp/ |
H A D | ftp.h | 155 char** ftp_nlist(ftpbuf_t *ftp, const char *path TSRMLS_DC); 162 char** ftp_list(ftpbuf_t *ftp, const char *path, int recursive TSRMLS_DC); 172 int ftp_get(ftpbuf_t *ftp, php_stream *outstream, const char *path, ftptype_t type, long resumepos… 177 int ftp_put(ftpbuf_t *ftp, const char *path, php_stream *instream, ftptype_t type, long startpos T… 180 long ftp_size(ftpbuf_t *ftp, const char *path); 183 time_t ftp_mdtm(ftpbuf_t *ftp, const char *path); 189 int ftp_delete(ftpbuf_t *ftp, const char *path); 197 int ftp_nb_get(ftpbuf_t *ftp, php_stream *outstream, const char *path, ftptype_t type, long resume… 202 int ftp_nb_put(ftpbuf_t *ftp, const char *path, php_stream *instream, ftptype_t type, long startpo…
|
/PHP-5.5/ext/spl/examples/ |
H A D | findfile.inc | 26 /** Construct from path and filename 28 * @param $path the directory to search in 29 * If path contains ';' then this parameter is split and every 33 function __construct($path, $file) 36 $list = split(PATH_SEPARATOR, $path); 38 parent::__construct(new RecursiveIteratorIterator(new RecursiveDirectoryIterator($path))); 41 foreach($list as $path) { 42 $it->append(new RecursiveIteratorIterator(new RecursiveDirectoryIterator($path)));
|
H A D | directorytree.inc | 19 /** Construct from a path. 20 * @param $path directory to iterate 22 function __construct($path) { 23 parent::__construct(new DirectoryFilterDots($path));
|
/PHP-5.5/ext/simplexml/tests/ |
H A D | bug42259.phpt | 31 $path = ''; 34 $path .= $ancestor->getName() . '/'; 36 $path = substr($path, 0, strlen($path) - 1); 37 echo count($ancestry) . ' steps: ' . $path . PHP_EOL;
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | bug32160.phpt | 5 $path = dirname(__FILE__) . "/bug32160.txt"; 6 var_dump(copy($path, $path)); 8 var_dump(copy($path, "bug32160.txt"));
|
H A D | stream_get_line.phpt | 5 $path = dirname(__FILE__) . '/test.html'; 7 file_put_contents($path, b"foo<br>bar<br>foo"); 8 $fp = fopen($path, "r"); 13 @unlink($path);
|
H A D | 006_basic.phpt | 30 $path = dirname(__FILE__); 33 fopen($path."/perm.tmp", "w"); 34 var_dump( chmod($path."/perm.tmp", 0755 ) ); 35 printf("%o", fileperms($path."/perm.tmp") ); 39 mkdir($path."/perm"); 40 var_dump( chmod( $path."/perm", 0777 ) ); 41 printf("%o", fileperms($path."/perm") );
|
/PHP-5.5/ext/fileinfo/libmagic/ |
H A D | apptype.c | 49 char path[_MAX_PATH], drive[_MAX_DRIVE], dir[_MAX_DIR], in file_os2_apptype() local 62 (void)sprintf(path, "%s%s%s%s", drive, in file_os2_apptype() 68 if ((fp = fopen(path, "wb")) == NULL) { in file_os2_apptype() 69 file_error(ms, errno, "cannot open tmp file `%s'", path); in file_os2_apptype() 74 path); in file_os2_apptype() 80 rc = DosQueryAppType((unsigned char *)path, &type); in file_os2_apptype() 83 unlink(path); in file_os2_apptype()
|
/PHP-5.5/ext/opcache/tests/ |
H A D | blacklist.phpt | 25 [0] => /path/to/foo 26 [1] => /path/to/foo2 27 [2] => /path/to/bar 30 [5] => /tmp/path/?nocache.inc 31 [6] => /tmp/path/*/somedir
|
/PHP-5.5/tests/security/ |
H A D | open_basedir_file_exists.phpt | 23 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li… 26 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 29 Warning: file_exists(): open_basedir restriction in effect. File(..) is not within the allowed path… 32 …: open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on li… 35 Warning: file_exists(): open_basedir restriction in effect. File(/) is not within the allowed path(… 38 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li… 41 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 44 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 47 …pen_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on li…
|
H A D | open_basedir_fileatime.phpt | 23 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li… 26 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 29 Warning: fileatime(): open_basedir restriction in effect. File(..) is not within the allowed path(s… 32 Warning: fileatime(): open_basedir restriction in effect. File(../) is not within the allowed path(… 35 Warning: fileatime(): open_basedir restriction in effect. File(/) is not within the allowed path(s)… 38 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li… 41 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 44 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 47 …pen_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on li…
|
H A D | open_basedir_filectime.phpt | 23 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li… 26 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 29 Warning: filectime(): open_basedir restriction in effect. File(..) is not within the allowed path(s… 32 Warning: filectime(): open_basedir restriction in effect. File(../) is not within the allowed path(… 35 Warning: filectime(): open_basedir restriction in effect. File(/) is not within the allowed path(s)… 38 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li… 41 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 44 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 47 …pen_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on li…
|
H A D | open_basedir_filegroup.phpt | 23 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li… 26 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 29 Warning: filegroup(): open_basedir restriction in effect. File(..) is not within the allowed path(s… 32 Warning: filegroup(): open_basedir restriction in effect. File(../) is not within the allowed path(… 35 Warning: filegroup(): open_basedir restriction in effect. File(/) is not within the allowed path(s)… 38 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li… 41 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 44 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 47 …pen_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on li…
|
H A D | open_basedir_fileinode.phpt | 23 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li… 26 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 29 Warning: fileinode(): open_basedir restriction in effect. File(..) is not within the allowed path(s… 32 Warning: fileinode(): open_basedir restriction in effect. File(../) is not within the allowed path(… 35 Warning: fileinode(): open_basedir restriction in effect. File(/) is not within the allowed path(s)… 38 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li… 41 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 44 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 47 …pen_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on li…
|
H A D | open_basedir_filemtime.phpt | 23 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li… 26 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 29 Warning: filemtime(): open_basedir restriction in effect. File(..) is not within the allowed path(s… 32 Warning: filemtime(): open_basedir restriction in effect. File(../) is not within the allowed path(… 35 Warning: filemtime(): open_basedir restriction in effect. File(/) is not within the allowed path(s)… 38 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li… 41 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 44 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 47 …pen_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on li…
|
H A D | open_basedir_fileowner.phpt | 23 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li… 26 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 29 Warning: fileowner(): open_basedir restriction in effect. File(..) is not within the allowed path(s… 32 Warning: fileowner(): open_basedir restriction in effect. File(../) is not within the allowed path(… 35 Warning: fileowner(): open_basedir restriction in effect. File(/) is not within the allowed path(s)… 38 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li… 41 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 44 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 47 …pen_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on li…
|
H A D | open_basedir_fileperms.phpt | 23 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li… 26 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 29 Warning: fileperms(): open_basedir restriction in effect. File(..) is not within the allowed path(s… 32 Warning: fileperms(): open_basedir restriction in effect. File(../) is not within the allowed path(… 35 Warning: fileperms(): open_basedir restriction in effect. File(/) is not within the allowed path(s)… 38 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li… 41 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 44 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 47 …pen_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on li…
|
H A D | open_basedir_filesize.phpt | 23 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li… 26 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 29 Warning: filesize(): open_basedir restriction in effect. File(..) is not within the allowed path(s)… 32 Warning: filesize(): open_basedir restriction in effect. File(../) is not within the allowed path(s… 35 Warning: filesize(): open_basedir restriction in effect. File(/) is not within the allowed path(s):… 38 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li… 41 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 44 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 47 …pen_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on li…
|
H A D | open_basedir_filetype.phpt | 23 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li… 26 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 29 Warning: filetype(): open_basedir restriction in effect. File(..) is not within the allowed path(s)… 32 Warning: filetype(): open_basedir restriction in effect. File(../) is not within the allowed path(s… 35 Warning: filetype(): open_basedir restriction in effect. File(/) is not within the allowed path(s):… 38 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li… 41 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 44 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 47 …pen_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on li…
|
H A D | open_basedir_is_dir.phpt | 23 Warning: is_dir(): open_basedir restriction in effect. File(../bad) is not within the allowed path(… 26 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 29 Warning: is_dir(): open_basedir restriction in effect. File(..) is not within the allowed path(s): … 32 Warning: is_dir(): open_basedir restriction in effect. File(../) is not within the allowed path(s):… 35 Warning: is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (… 38 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li… 41 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 44 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 47 Warning: is_dir(): open_basedir restriction in effect. File(./../.) is not within the allowed path(…
|
H A D | open_basedir_is_file.phpt | 23 Warning: is_file(): open_basedir restriction in effect. File(../bad) is not within the allowed path… 26 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 29 Warning: is_file(): open_basedir restriction in effect. File(..) is not within the allowed path(s):… 32 Warning: is_file(): open_basedir restriction in effect. File(../) is not within the allowed path(s)… 35 Warning: is_file(): open_basedir restriction in effect. File(/) is not within the allowed path(s): … 38 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li… 41 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 44 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 47 Warning: is_file(): open_basedir restriction in effect. File(./../.) is not within the allowed path…
|
H A D | open_basedir_is_link.phpt | 23 Warning: is_link(): open_basedir restriction in effect. File(../bad) is not within the allowed path… 26 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 29 Warning: is_link(): open_basedir restriction in effect. File(..) is not within the allowed path(s):… 32 Warning: is_link(): open_basedir restriction in effect. File(../) is not within the allowed path(s)… 35 Warning: is_link(): open_basedir restriction in effect. File(/) is not within the allowed path(s): … 38 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li… 41 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 44 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 47 Warning: is_link(): open_basedir restriction in effect. File(./../.) is not within the allowed path…
|
H A D | open_basedir_is_readable.phpt | 23 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li… 26 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 29 Warning: is_readable(): open_basedir restriction in effect. File(..) is not within the allowed path… 32 …: open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on li… 35 Warning: is_readable(): open_basedir restriction in effect. File(/) is not within the allowed path(… 38 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li… 41 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 44 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 47 …pen_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on li…
|