stream_stat_path megapatch
| From: | Sara Golemon | Date: | Wed, 26 Nov 2003 07:03:45 +0000 |
| Subject: | stream_stat_path megapatch | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-5718@lists.php.net to get a copy of this message | ||
Here's a second stab at routing userland stat() via the streams wrapper op
url_stat.
It needs some good and heavy testing on alternate platforms (especially
Win32 and Netware).
Could others give it a shot? Test userland functions like stat(), lstat(),
filesize(), is_link(), filetype(), is_readable(), etc.... with localfiles,
(e.g. "/foo/bar/baz.txt"), localfiles explicitly named via the files wrapper
(e.g. "file:///foo/bar/baz.txt") and remote files via the ftp wrapper (the
only one with a url_stat implementation at the moment (and only a limited
one at that) (i.e. echo filesize("ftp://ftp.kerneli.org/pub/README"); )
Also looking for general thoughts on structure and implementation.
-Sara