Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:113259 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 5669 invoked from network); 25 Feb 2021 11:54:59 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 25 Feb 2021 11:54:59 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 12293180539 for ; Thu, 25 Feb 2021 03:43:58 -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_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-io1-f48.google.com (mail-io1-f48.google.com [209.85.166.48]) (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, 25 Feb 2021 03:43:57 -0800 (PST) Received: by mail-io1-f48.google.com with SMTP id f20so5502771ioo.10 for ; Thu, 25 Feb 2021 03:43:57 -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=ee/azy1yJgXVphEWQ2BuLrhHCljAhXAVoQ1R5uGNces=; b=aSZNj/BTmh1VCnr/4EiQC0kMh0qWLS/xzu6n8nV/z0Szk0vj2kIEy7ibDQbJo1oERz m8e/RE2P8NsiY6lEpHpOX0ruYPZsb3VBBjlIW0O8pNhwcpLqlcYBUyFd6daV+Ya/eH/1 T4EAeqcdZllQ/iL9qmL5tP1RP/n5QE9TYzNQrNtk9/ox9HA2iSHeIsbk8zJiJw8chv1W LzGa4f3V20+YRn83ZFQB/vJlVcFdtX9OFCJieVCZpiD167XqpWh+ciUABt0Oa8r5tXFl nA8f+X9rwEAs7RUXFKYhvP2SJuLVHDCeFcyb19YkgfNZEz6bFF+191sDmTpnGr0HZYkc /GQg== 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=ee/azy1yJgXVphEWQ2BuLrhHCljAhXAVoQ1R5uGNces=; b=L31uSScbCiTipTU249I8DKcCUi6XV0Mk44jmvEczL9I17oHJZZfR2D0yG1tTjqdDY4 uL6Czu2gdwuBbWUViEj+2nSmuih3Cprnsu9jWe7/ZjLiEOoS2SjCwucct8b1x2V3CPPH /ZsxT86KDjozRyTqC0mjg4y5O/XN4hjg8wYfjtxo2klyVvJh3X7K70NTjuKCpPCqeF8L BJZt3N1mL3ZxjpeeFRyOzZbXew0JKkGcOt3D4kjBQbDqshgdBuWzW3gFrYSlJ5rMMps/ NE6PEC2kniNqAErvCI+fnZUiH3LmVz/AyH8yAoFkeY8uFqtgtRRLUyc22NkDvu/9fBVE fMCA== X-Gm-Message-State: AOAM533m6JrlJNTU3fHtyiAKb6RaO61Z4JTsM3dsmORVwiYT4GJZXeSW B7oW0eOFNpdLpa1trjtj/yyMxMNpvCVenkFKQVo= X-Google-Smtp-Source: ABdhPJwppY8ZQh0ZZDlaxaYhwDXDQ9DAXeMJ5E7PxkWsCpHbG5fWRculUPuE/VX8BY8atONAFh2hka1HNgs28gv/wso= X-Received: by 2002:a5e:8615:: with SMTP id z21mr2305797ioj.132.1614253436938; Thu, 25 Feb 2021 03:43:56 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 25 Feb 2021 12:43:45 +0100 Message-ID: To: David Gebler Cc: PHP internals Content-Type: multipart/alternative; boundary="000000000000afaf4405bc27aaed" Subject: Re: [PHP-DEV] [VOTE] fsync function From: ocramius@gmail.com (Marco Pivetta) --000000000000afaf4405bc27aaed Content-Type: text/plain; charset="UTF-8" Hey David, On Wed, Feb 24, 2021 at 6:15 PM David Gebler wrote: > Voting is now open for 2 weeks on https://wiki.php.net/rfc/fsync_function > > Regards, > David Gebler > > On Tue, Feb 23, 2021 at 5:15 PM David Gebler > wrote: > > > Hi internals, > > As there appear to be no objections or concerns, I intend to open voting > > on https://wiki.php.net/rfc/fsync_function tomorrow and voting will > > remain open for two weeks. > > > > The RFC and its implementation > > > > - Adds functions fsync() and fdatasync() for plain file streams on Unix > > systems. > > - Adds function fsync() on Windows with fdatasync() available as an alias > > > > PR ref https://github.com/php/php-src/pull/6650 > Just clarifying on my "NO" vote: I'm opposed to having more E_WARNING raised by the language. We have better approaches for that: * exceptions * union types * Maybe/Either types I don't see a reason to introduce a warning here, and it makes the function unusable unless some poor soul implements a library that gets rid of the warning. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ --000000000000afaf4405bc27aaed--