Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55365 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39045 invoked from network); 11 Sep 2011 19:26:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Sep 2011 19:26:29 -0000 Authentication-Results: pb1.pair.com smtp.mail=sebastian@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=sebastian@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 93.190.64.33 as permitted sender) X-PHP-List-Original-Sender: sebastian@php.net X-Host-Fingerprint: 93.190.64.33 mail-3.de-punkt.de Received: from [93.190.64.33] ([93.190.64.33:42140] helo=mail-3.de-punkt.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 50/F7-45650-36B0D6E4 for ; Sun, 11 Sep 2011 15:26:28 -0400 Received: (qmail 24574 invoked by uid 511); 11 Sep 2011 19:26:22 -0000 Received: by simscan 1.4.0 ppid: 24570, pid: 24572, t: 0.2372s scanners: attach: 1.4.0 Received: from unknown (HELO ?192.168.2.31?) (sb@sebastian-bergmann.de@93.214.189.68) by 0 with ESMTPA; 11 Sep 2011 19:26:22 -0000 Message-ID: <4E6D0B5C.8030907@php.net> Date: Sun, 11 Sep 2011 21:26:20 +0200 Reply-To: internals@lists.php.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: internals@lists.php.net X-Enigmail-Version: 1.3.1 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: [RFC] Factory for Stream Wrappers From: sebastian@php.net (Sebastian Bergmann) We (Arne Blankerts, Stefan Priebsch, Benjamin Eberlei, and I) have worked on/with code where a factory for stream wrappers would be very helpful. Earlier this year we talked to Ilia about this at ConFoo and he was open to the idea but did not have the time to implement it. At FrOSCon we talked to Johannes about this and he volunteered to implement it; which he did. We now have an RFC at [1] and an initial patch at [2]. Benjamin will write tests in the next couple of days. We know that we are "late to the party" but we do think that this would be a good addition to PHP 5.4. -- [1] https://wiki.php.net/rfc/streamwrapper-factory [2] http://schlueters.de/~johannes/php/stream_factory.diff -- Sebastian Bergmann Co-Founder and Principal Consultant http://sebastian-bergmann.de/ http://thePHP.cc/