Em Mon, 07 Mar 2011 17:49:54 -0000, Stas Malyshev <smalys...@sugarcrm.com>
escreveu:
I have to repeat what I said earlier, these specific informations
(ACL, reparse points or other OS/FS specific informations) are very
Nobody cares about reparse points. There's probably no PHP app in
existence that cares about reparse points. There's tons of apps that use
touch() and chmod() though.
Even if one concedes "nobody/no PHP app cares about reparse points" (which
is an odd statement for two reasons 1) reparse points are used to
implement things such as symbolic links and 2) if there is no access to
reparse points in PHP, saying no PHP app cares about them is a trivial
necessity), are you seriously saying nobody cares about POSIX
ACLs/extended attributes or ACLs/ownership information on Windows? This is
a spectacularly selective reply...
hard to implement in a generic way as you are proposing. As the idea
in itself is good, I have serious doubts that a useful (working and
portable) solution can be implemented with what is described in your
initial post (barely posix only).
It is useful, and it will be working.
There can be certainly no "working and portable" implementation of stuff
like NTFS ACLs on *nix or a useful chmod implementation on Windows and
platform specific implementations of those features in the standard stream
wrappers will have to be ifdef'd out depending on the platform, and I
think that's Pierre's concern.
In this sense, it will be easier and more tempting to write
platform-dependent PHP applications. However, while per se undesirable, I
think it's less undesirable than limiting PHP to the lowest common
denominator.
--
Gustavo Lopes
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php