Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:112244 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 93392 invoked from network); 12 Nov 2020 22:38:59 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 12 Nov 2020 22:38:59 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 1AB0F180532 for ; Thu, 12 Nov 2020 14:01:45 -0800 (PST) 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.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (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 ; Thu, 12 Nov 2020 14:01:44 -0800 (PST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id AC9945C0068 for ; Thu, 12 Nov 2020 17:01:43 -0500 (EST) Received: from imap26 ([10.202.2.76]) by compute4.internal (MEProxy); Thu, 12 Nov 2020 17:01:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=d/yBf4Sg2Q7Yhg6AXbllgKJxh+gilCzj7BF/bcxjN L4=; b=Mlrxjt95fUITtI3VUXCAtYftQOSLCvT9Jqk6rdSgD1z9bR60sgHAbp+fc idQ1lcJ+h8X1ea3yL18w7KusRp2y3xw6b5gBmeBh2DuXD9HgjDgZih4AclWY2fdN rHFJQlt5SHBfYQU6u6jUwm5yXFCn4ZpUs4KZ5Mgq4WWOTDt8V8BtCRG9n3swmy2a dbNQjtA9E2BKk0lOauYDxmw6VW2uPGvhG4xylp72VmmApDFDelcTky5QdSb6fJ8M 2OY+CDzse/vPcAZhuCxXNPJmOT2hdmcoSkZwXtl9+jkmfryGEZnCMfcA9qZuib4/ HMR2zYH7bD58KYrXe2bIVcfzmJo5Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddvfedgudefvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvufgtgfesthhqredtreerjeenucfhrhhomhepfdfn rghrrhihucfirghrfhhivghlugdfuceolhgrrhhrhiesghgrrhhfihgvlhguthgvtghhrd gtohhmqeenucggtffrrghtthgvrhhnpeffffffjeffudfggeevvdeitdetvdfgjefffeff jeelfeejteevheeghffhvdfgleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpehlrghrrhihsehgrghrfhhivghlughtvggthhdrtghomh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 62AB214200A2; Thu, 12 Nov 2020 17:01:43 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-570-gba0a262-fm-20201106.001-gba0a2623 Mime-Version: 1.0 Message-ID: In-Reply-To: References: Date: Thu, 12 Nov 2020 16:01:23 -0600 To: "php internals" Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Why there is no StreamWrapper interface ? From: larry@garfieldtech.com ("Larry Garfield") On Thu, Nov 12, 2020, at 3:25 PM, Benjamin Morel wrote: > On Thu, 12 Nov 2020 at 19:28, Sara Golemon wrote: >=20 > > Honestly, I kind of regard the state of PHP's filesystem libraries t= o be > > one big hot mess. I'd really much rather redesign them from the gro= und up > > with some BC shims to avoid breaking the world, but I lack the drive= to > > make that happen at the moment. > > > > -Sara > > >=20 > There have been some attempts (including mine) to design a better > abstraction on top of current PHP filesystem functions, which would be= a > good start, but I think what's missing the most currently is a good AP= I to > get inspiration from. > Is there a filesystem library in another language that is considered > state-of-the-art at the moment? >=20 > =E2=80=94 Benjamin I have heard very positive things about Rust's file system API, but have= no experience with it myself. --Larry Garfield