Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121252 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 40900 invoked from network); 6 Oct 2023 14:44:44 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 6 Oct 2023 14:44:44 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 1C45818004A for ; Fri, 6 Oct 2023 07:44:44 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS24940 176.9.0.0/16 X-Spam-Virus: No X-Envelope-From: Received: from chrono.xqk7.com (chrono.xqk7.com [176.9.45.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 6 Oct 2023 07:44:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1696603481; bh=LYV387VfyCtVSEJX/qC+TS3aUneTwPchmdwJK8N031g=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type:from:to:cc:subject:message-id; b=K4mK0xY0pbCLerbUiX8G/rRRMNOo+4/EgwVGLY+XmPgC+Ownnn/PokeH2/br+Jc3b DjItU7NfmuJhAp2qNL1ewSCtP/1DGh8g2QBPz3TXRThE52Xa8LGqjey4K//wRi7sqp nDel0Ik5EOR9Wyg1+wOFMKcJRqgR4c1rA1YsWhOiOGLDis0AGfB2emt5kf0P5zwamZ MqGLoBGgJGwjg2Yu+u6Ybhxtc8H3NX6jyRr3oBbzcER7A7sBW0Jt5edL1Ov0tlJwwS udnfMzPJZmCUGP28fCbQ2SyyfVXs2kxnuecHVZONCs6d/83rtn0XsnQJgYAl5x6a67 sX3uSs0HyO3pQ== Message-ID: <6fccfe47-21ac-fa5b-e52e-28064f26125b@bastelstu.be> Date: Fri, 6 Oct 2023 16:44:38 +0200 MIME-Version: 1.0 To: Ilija Tovilo , PHP internals References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] [RFC][Under discussion] RFC1867 for non-POST HTTP verbs From: tim@bastelstu.be (=?UTF-8?Q?Tim_D=c3=bcsterhus?=) Hi On 10/6/23 15:44, Ilija Tovilo wrote: > https://wiki.php.net/rfc/rfc1867-non-post > Regarding the cleanup of the files, perhaps the files could be read into a `php://temp` stream (https://www.php.net/manual/en/wrappers.php.php#wrappers.php.memory)? While this would cause the function to be incompatible with $_FILES, I think it would make for a much nicer API and it would also automatically solve the cleanup problem. Best regards Tim Düsterhus