> Elizabeth, et al, the concrete semantic of Phar::isWritable() is what?
> Is it just is_writable('test.phar') or is it Phar::canWrite() &&
> is_writable('test.phar')?

I'd vote for Phar::canWrite() && is_writable('test.phar') - so you know
if you actually can change the phar.

> Benjamin, could you live with the proposed change of the ArrayAccess
> usage?
> 
> The RFC: http://wiki.php.net/rfc/streamline-phar-api
> 
> cu, Lars

After looking over the rfc - the phar as a multidimensional array, the
isWriteable, the createDirectory and the Phar::create would solve most
of my current API gripes for phar - the rest...I don't know what
rewriting all the splfileobject and splfileinfo methods would achieve...

The only things I see missing are an addFile and addDirectory shortcut
methods for when I don't want to mess with all the metadata or creating
iterators.

Thanks,
Elizabeth Smith

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to