On 28.03.2008, at 13:22, Lars Strojny wrote:
 The issue I have with ArrayAccess is, that an archive
represents a multidimensional, nested hash. The way Phar works as an
array is doubtful as it represents multi dimensions in a single
dimension hash.

Very good point!

On 28.03.2008, at 13:22, Lars Strojny wrote:
$phar->createDirectory('bla')
   ->add('file1', 'content')
   ->add('file2', 'content')
   ->createDirectory('foo')
       ->add('file1', 'content')
       ->add('file2', 'content');
$phar->save();

-1, i am not a fan of this lazy stuff :)

Regards,
Benjamin

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

Reply via email to