Hi!
No I don't. But I'm telling you that what you propose is incomplete
and bad, to start with.
Incomplete - yes. If we only implemented things that are "complete" in
the sense you require, we would have no file operations in PHP at all -
after all, we don't have support for reparse points and NTFS ACLs in
file functions now, so by your logic they shouldn't be implemented until
we design filesystem layer that allows to do it. Until then, PHP is
better without any filesystem support at all. I don't see how it makes
any sense.
But again vfsStream example shows it will be useful not only for myself but
for many others. Your argument is that since it doesn't cover some fringe
case which nobody currently uses
You are not everybody, nor is your projects, sorry.
Come on, you know vfsStream is not my project and the problem is real.
If you have proof that any of your counterexamples are widely used and
streams are completely useless as filesystem layer without support for
reparse points or NTFS ACLs - bring examples. Tell me which applications
require them. Tell me how you unit-test them now and how you want to
improve it. Without it, what I see is shooting down a good proposal
because you can vaguely think of imagined better solution which nobody
is going ever to design and implement. The result is we get no
improvement at all. How is that any better?
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php