Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51593 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38498 invoked from network); 7 Mar 2011 09:46:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Mar 2011 09:46:09 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.214.42 mail-bw0-f42.google.com Received: from [209.85.214.42] ([209.85.214.42:61649] helo=mail-bw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3A/C3-17187-F59A47D4 for ; Mon, 07 Mar 2011 04:46:08 -0500 Received: by bwz13 with SMTP id 13so3720796bwz.29 for ; Mon, 07 Mar 2011 01:46:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=x2dbTxhDqOru5Ged8+f3XYbDOg5Npqtuh/cT9+FkWo4=; b=TG7qMeavd1U9sRKF8DSWo848/y1SmhbsJG8q4GponwMl7wg5xmc4buYifXPYozEmCW qcyEgLK+py01yx0yhIkNlcr0cjdtomyyUvLQhkao207B3RFFEU/DleqWokaiUxWMZNo/ 7FNsdEfu+w60pG6mkdFc8lHVFiqCmnBxZmPqM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=aeHMMr9fNPgzJbSYUBZ+i6uXP3jbAk4oChxmne0TG1yxFL+0eCeKf4etziPYrBaM8M wrSPaZzsHPkPtnMRkSQilr5ToEOxWrmjf+vubCLo/P8y7u54p9sRqItRQPKvBiwo54ct n1bGLxn0RUHlKCK2jVfhnpXLYNdfFrAOHeZu0= MIME-Version: 1.0 Received: by 10.204.22.197 with SMTP id o5mr3243412bkb.68.1299491164089; Mon, 07 Mar 2011 01:46:04 -0800 (PST) Received: by 10.204.122.2 with HTTP; Mon, 7 Mar 2011 01:46:04 -0800 (PST) In-Reply-To: <4D74A8FD.3020102@sugarcrm.com> References: <4D7431C3.10405@sugarcrm.com> <4D74A8FD.3020102@sugarcrm.com> Date: Mon, 7 Mar 2011 10:46:04 +0100 Message-ID: To: Stas Malyshev Cc: Gustavo Lopes , "internals@lists.php.net" Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] file streams & metadata From: pierre.php@gmail.com (Pierre Joye) On Mon, Mar 7, 2011 at 10:44 AM, Stas Malyshev wrote: > Hi! > >> I would prefer to have these particular getters (and maybe ever >> setters) somewhere else, like in a derivated SplFile. That would give >> us more flexibility and cleaner APIs fro something that does not >> really fit in default streams anyway (or rarely). > > touch(), chmod(), etc. aren't "rarely" used. They are used in alomst any > app, everywhere. The key part of this reply was "these particular", as they are very platform specific and useless in a generic stream wrapper implementation. -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org