Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65531 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8478 invoked from network); 31 Jan 2013 10:12:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Jan 2013 10:12:51 -0000 Authentication-Results: pb1.pair.com header.from=alex@kazik.de; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=alex@kazik.de; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain kazik.de designates 209.85.128.169 as permitted sender) X-PHP-List-Original-Sender: alex@kazik.de X-Host-Fingerprint: 209.85.128.169 mail-ve0-f169.google.com Received: from [209.85.128.169] ([209.85.128.169:33005] helo=mail-ve0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 43/12-09318-1A34A015 for ; Thu, 31 Jan 2013 05:12:50 -0500 Received: by mail-ve0-f169.google.com with SMTP id 15so77839vea.0 for ; Thu, 31 Jan 2013 02:12:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kazik.de; s=google; h=x-received:mime-version:sender:x-originating-ip:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type; bh=USSh5WRYDTnkN2U/tuKAvV1TtyWMDF116LweRfMAjoo=; b=YMQ4bnpB4m+qijS7Wt0Q+YUtflENlBHJcqyWgsL1UdXPveq3VSDciHKZiWv724yehw 8zWjJUjdFjbBJZpDIvzzrG3brFH0X0NHBKslZM64DYNuCAlRAwfpyZd3TFsDG1ne9SCS 7B2UFjQokWTo6ddhJPGwQy3y8gVPehymHYsCA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:sender:x-originating-ip:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type:x-gm-message-state; bh=USSh5WRYDTnkN2U/tuKAvV1TtyWMDF116LweRfMAjoo=; b=cT5inkiUcZsfpEQicZpjQ1+19EfXkNmr2tzdLEY1ZEOgEWoOGv7leNYu2TH95O0yrR Sv1mhDCelaBzlyXUElVcuS5dAoZ0KMxJRDX+w80UMlNePBsaWQRtVZ67TBLYCwyBfY39 JAZ29NflZ96QsEy1LZt+aTLwsuQ7uUTkOs2bXk/81ImNaOFBgYgkfPtaTcjP/2W9Psga VmDOXfXTRI6uFEtdxA6lnql1sijs45Op3NnomLMnrvMXDe7eH/671ZuSIihkS0+Zwo3r 6vIVT0wa2MVicjJCUcDe/++NazQUZktZkQbLuynFpp3qta8OWAs1dcWYR4OvAhORonAb DZ5A== X-Received: by 10.220.153.2 with SMTP id i2mr7397269vcw.53.1359627166232; Thu, 31 Jan 2013 02:12:46 -0800 (PST) MIME-Version: 1.0 Sender: alex@kazik.de Received: by 10.52.176.34 with HTTP; Thu, 31 Jan 2013 02:12:25 -0800 (PST) X-Originating-IP: [212.8.208.194] In-Reply-To: <510A3B71.7060508@hoa-project.net> References: <510A3B71.7060508@hoa-project.net> Date: Thu, 31 Jan 2013 11:12:25 +0100 X-Google-Sender-Auth: qRBy9zWtZmYGY3QSCaTDaGIbB8s Message-ID: To: ivan.enderlin@hoa-project.net Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQkxqpyh94ZusPFTr8TIDme9f+Lz8+M1zpZ9llSFRW4VvandTHbbhP2q0Mut2XwPzkL+hApL Subject: Re: [lists.php] [PHP-DEV] Proposal: php://memory/ (& ://temp/) From: lists.php@tx0.eu (ALeX) Hi Ivan, > php://memory/ > php://temp//maxmemory: It's not that hard to write such an function in php. (http://www.php.net/manual/en/function.stream-wrapper-register.php). I even once wrote an handler like "string://data-right-here" which allows to read (only) the "data-right-here" as a file. (I used it for a function which required a file and does not support strings directly, and instead of php://memory all data is freed when no longer used)