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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php