Re: phar API

From: Date: Fri, 28 Mar 2008 12:39:31 +0000
Subject: Re: phar API
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-36645@lists.php.net to get a copy of this message
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

« previous php.internals (#36645) next »