Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36645 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78511 invoked from network); 28 Mar 2008 12:39:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Mar 2008 12:39:42 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@benjaminschulz.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=php@benjaminschulz.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain benjaminschulz.com from 80.81.249.139 cause and error) X-PHP-List-Original-Sender: php@benjaminschulz.com X-Host-Fingerprint: 80.81.249.139 mx.systisoft.com Linux 2.5 (sometimes 2.4) (4) Received: from [80.81.249.139] ([80.81.249.139:39058] helo=mx.systisoft.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4B/0A-25926-D07ECE74 for ; Fri, 28 Mar 2008 07:39:42 -0500 Received: (qmail 19385 invoked from network); 28 Mar 2008 12:37:06 -0000 Received: from unknown (HELO mail.ih.systisoft.com) (80.81.249.133) by mx.systisoft.com with SMTP; 28 Mar 2008 12:37:06 -0000 Received: from localhost (localhost [127.0.0.1]) by mail.ih.systisoft.com (Postfix) with ESMTP id CC0B94C103F; Fri, 28 Mar 2008 13:39:38 +0100 (CET) Received: from mail.ih.systisoft.com ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13357-08; Fri, 28 Mar 2008 13:39:33 +0100 (CET) Received: from [10.0.150.10] (unknown [10.0.150.10]) by mail.ih.systisoft.com (Postfix) with ESMTP id 3A50A4C101D; Fri, 28 Mar 2008 13:39:33 +0100 (CET) Cc: Marcus Boerger , internals Mailing List Message-ID: <0E1DC939-085A-496D-AADE-DD38E98B4049@benjaminschulz.com> To: Lars Strojny In-Reply-To: <1206706951.6331.24.camel@localhost> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Fri, 28 Mar 2008 13:39:31 +0100 References: <1206626878.7434.56.camel@localhost> <26719276.20080328111709@marcus-boerger.de> <1206706951.6331.24.camel@localhost> X-Mailer: Apple Mail (2.919.2) X-Virus-Scanned: by amavisd-new at mail.ih.systisoft.com X-Spam-Status: No, hits=-0.619 tagged_above=-999 required=5 tests=ALL_TRUSTED, AWL, BAYES_50, MISSING_SUBJECT, NO_RECEIVED X-Spam-Level: Subject: Re: [PHP-DEV] phar API From: php@benjaminschulz.com (Benjamin Schulz) 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