Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:112243 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 89794 invoked from network); 12 Nov 2020 22:02:54 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 12 Nov 2020 22:02:54 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 72F4B1804D8 for ; Thu, 12 Nov 2020 13:25:40 -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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-ot1-f47.google.com (mail-ot1-f47.google.com [209.85.210.47]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 12 Nov 2020 13:25:40 -0800 (PST) Received: by mail-ot1-f47.google.com with SMTP id n11so7059447ota.2 for ; Thu, 12 Nov 2020 13:25:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4Y4wpz6G/ItzsmA71wKcmAkDm0GE/ZgmdJhLsUR+8lE=; b=inJkKVSoOnzu4T21LZEAo3y49WxHk2Oz9HiQjXnuADDw5Gqir6vJh0oXRZTXwXD42C xTT2sUDhCgYMV8O7lLHQEgToWiyxv29SiWMHViDU3jAjpB4/xyoPWLvQ/nqTKtCNG3Pb 01NhSThTPX8l72AW88Ohm796N1EEd8GvIfFhhwmHvJiXCJup01w1qAk/R1VlJecg31bb qIc9INKmb7E3azBNnmJaJ6d7TR4cPyryMbw9QGOMBr+k0cF2R4yJM5dAGQnY1fqEVk37 SitYwU6CKG+iZkO6sVLyVk6iD7dBGt8dFu44OJqUxaIpYUivOghCapB5E/z9Jg+2sv9z k7Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4Y4wpz6G/ItzsmA71wKcmAkDm0GE/ZgmdJhLsUR+8lE=; b=FQ5p036HfKhMyuVhhUROqe4Diw0dIyHKzMriRWTppauwvxwilI0cIr3qF441f8Itug vmTVVDiHhJuqrVE1pv6TaOeKhk3dc7wBtNoXy6RkAySge8CTWFnS5rIcdp5wqRL0OpVp Jl8OFnR/+Ylw1Itj15eb+vH9JwtEcUKz+5L1q2/PhZGBg7odqxL8FaFfaYLwinNBSjue UfbX9cSAZ2nbJCWxIw/tRS99FlB9Yg8Z89WdgnhEQHl+s8/eA6pooLwq5rnPwPs8fVd1 00iOmKmD/6oNEnwkndz/uwrJdkbwF6HzTvaepVz1MKE+sH2oVZ4sjGUViqeJYpDJ+ujG fPPg== X-Gm-Message-State: AOAM530r+eRgLn67qP2Er4rpblF8oTQHaivxOxR3gjWqysgYcw/VCWQz MpM6UoeQOFQ+swilzRf3QB+U/Y80jorWazMGmU3YYj3m1qIjrg== X-Google-Smtp-Source: ABdhPJwEl3HptibqCUWB00yCZXmT2g3PLKV9iZsDndJTlwwrB7VY5OmdkZHsaVRw4Uhekt188J9rqMJ+yC3tQZuqu9E= X-Received: by 2002:a9d:649:: with SMTP id 67mr893222otn.233.1605216337027; Thu, 12 Nov 2020 13:25:37 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 12 Nov 2020 22:25:25 +0100 Message-ID: To: Sara Golemon Cc: Pierre , "internals@lists.php.net" Content-Type: multipart/alternative; boundary="0000000000008e683a05b3ef8dcd" Subject: Re: [PHP-DEV] Why there is no StreamWrapper interface ? From: benjamin.morel@gmail.com (Benjamin Morel) --0000000000008e683a05b3ef8dcd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 12 Nov 2020 at 19:28, Sara Golemon wrote: > Honestly, I kind of regard the state of PHP's filesystem libraries to be > one big hot mess. I'd really much rather redesign them from the ground u= p > with some BC shims to avoid breaking the world, but I lack the drive to > make that happen at the moment. > > -Sara > 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 API to get inspiration from. Is there a filesystem library in another language that is considered state-of-the-art at the moment? =E2=80=94 Benjamin --0000000000008e683a05b3ef8dcd--