Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:122195 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 65542 invoked from network); 19 Jan 2024 16:04:07 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 19 Jan 2024 16:04:07 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1705680288; bh=OyDkgqgz16JwyNMpN/qS72QPLaMuTqCEbPu2YnRzUGA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=iSFhA8Ad9DrSTxWxvQoKlY/Bt3VF8wt7kdZMTY1At8ybCjuSVNJaSoSdq6rVJa/EE HTNWPWpULAtWl6lHI1aXdwUSecE3M5zD1Fe9LCjaiCUuP8DJ6cN9CigprtLd2Ni/MM GbAMhJJ4mmD3T/pFw1+NrFuYOulv+itgTRtM0EmBVP4eT9zg9XxVWQV4deTpkrrMCm lJHEUijFQKQaXwaTOqAJ/JoWgF/YT9e3cczUyGLbBYccyGNYh533510fsHSCkxADwv GAxScT7Nzf9WDthz+900tHpLvfl04jlzZx4ZjBdrl++qs3bolc9tBeopXmNhiN8pj9 WB4XBpMmjMaTQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 5D6B218005C for ; Fri, 19 Jan 2024 08:04:47 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: *** X-Spam-Status: No, score=3.0 required=5.0 tests=BAYES_40,DMARC_MISSING, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 19 Jan 2024 08:04:46 -0800 (PST) Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-5578485fc0eso983017a12.1 for ; Fri, 19 Jan 2024 08:04:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705680244; x=1706285044; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=YBivicEuRgvZ0pzsfUqIo1YWJvyDmtOxpuLMjtpFgKQ=; b=jV3S1POgwW/ki+RskH6ZjV8DVN+PEAwEq0pMlQVjwB7WHF4yGU13O5JPfMX5GagYgB fP00IonOVmEKxxSFS4mSErxBQFHsVLdVmQJ2LmJQsEAQefY+Q8NuTzAK9zUbPpNOCbyg vjG9YuykFOJ+R9WPHEUqP8zUtbQ53xUPYMkMZQWpBBWJo13v1YyanGcZYVJsSkgMCx/e JHy9kw0BVxNwATUmrm4YoqAJ/+Cb6kyD/CMunylIMmkv/SkWhb06udSU3V5vH2YwSjEi ZVYGWI0CsO/bRMSAD2P2pIYhsAhJM8ASsEp/lUB08buuRmhOyw+ehKs71o7ItJKGrI7b Rgaw== X-Gm-Message-State: AOJu0YzOKl1Mfx5BRMfUFf5Lv0N0EW10pyvOcXL89EVAnUPibpqYVnw7 CoXzqIijlMNssmN/s2nYnfOrIl9ZQjP1JezcTWBJch9+yeq5C0jPj06ajtmrApVp7WJ8GymjGIY vuRjKnmff7N03nH7v/AAOsvMoi52Ov7LxYKRXG0h6BAJhkIl8 X-Google-Smtp-Source: AGHT+IEjfBo6c1u+Nnm+eMltPuUW0utHTHlaDPuNouTMy91uqoP0eE58h6ccVZWPyEE5Q0D2Mg/69oBxFEl1R2MIwUs= X-Received: by 2002:a17:906:4547:b0:a2b:c7df:87e2 with SMTP id s7-20020a170906454700b00a2bc7df87e2mr1686204ejq.61.1705680244572; Fri, 19 Jan 2024 08:04:04 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 19 Jan 2024 08:03:53 -0800 Message-ID: To: =?UTF-8?B?TcOhdMOpIEtvY3Npcw==?= Cc: PHP Internals List Content-Type: multipart/alternative; boundary="0000000000001416bb060f4ea167" Subject: Re: [PHP-DEV] Dedicated StreamBucket class From: pollita@php.net (Sara Golemon) --0000000000001416bb060f4ea167 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Jan 13, 2024 at 1:29=E2=80=AFAM M=C3=A1t=C3=A9 Kocsis wrote: > Recently, I realized that the stream_bucket_new() and > stream_bucket_make_writeable() functions > create stdClass instances by dynamically adding a "bucket", a "data" and = a > "datalen" property to it. > I don't want to stand in the way of you improving this part of Streams, and I'm really not commenting on your PR at all. BUT.... I would like to formally ask/give-permission to just redesign file I/O in PHP altogether. This would be a nice feature drop for 9.0, and we could deprecate the old stuff in 10, remove it in.... 12? No disrespect to all the folks (including myself) who had a part in file I/O as it exists today, but it *IS* a hot mess. I've sketched out redesigns with folks over the years, but I have to be honest that I don't have the spoons to invest in Stream 2.0, nor do most of the fellow-grayhairs I've chatted with about it. So please, if you at all feel inclined, burn this psuedo-posix I/O hell we have to the ground and replace it with the gleaming phoenix that PHP deserves. -Sara --0000000000001416bb060f4ea167--