Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:115913 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 11147 invoked from network); 2 Sep 2021 08:03:42 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 2 Sep 2021 08:03:42 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id ACC4A1804E3 for ; Thu, 2 Sep 2021 01:39:52 -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=0.6 required=5.0 tests=BAYES_50,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-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-io1-f50.google.com (mail-io1-f50.google.com [209.85.166.50]) (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, 2 Sep 2021 01:39:52 -0700 (PDT) Received: by mail-io1-f50.google.com with SMTP id b7so1450989iob.4 for ; Thu, 02 Sep 2021 01:39:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=z05QHFdLMscrzOxkM5ronkqQ7l2aJ9ESbjefQjaLgrY=; b=e7hAY38Jb1Y4cuS5LZHhsmviYK6+XD9dbgQBKx4+VM7rLCCE0njas9LjJZMTmNCXM2 xU/QoocpHLILz2uyK+SjyOHrJH8EBXlz9jGBWkVrs269farHWdqhVw1dil3VOF2aLQ8F 6RzdJdLBjSWaiTzucZoVzVOcf/p72BxRmWIGDEOEJBAAKdRRo4nWpX8dm4sYdnZ5vOK3 GZhM/3opSXdBwDoCqhpQmAZjsPQv/RHijX/KNUV+PGf3YKHW1gfBJgl92LeKEqFJmQU3 W6BTPj79Cu22V5wkcPDSIsGQU0QtvTmyyxOHhjlKGNCvi9UHZf2mygHZZZyf3TH+MO+n eyfQ== 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=z05QHFdLMscrzOxkM5ronkqQ7l2aJ9ESbjefQjaLgrY=; b=OYb/uVFAv4osTWxEOuAnybQtaMJtycTZKReY+LEGMy9Hv7XPcQfbRCBTN4rb2elLe+ qJpr8mxnkiBJXBNGzb0zEw0Dj/085Om/WHvmvwtWYqWQ0/8KLwLhvL9/NZ9cXqNoW4t2 maLoi5cBNF4plxS0oY0c74WJDfn6O3QWNyFJtZ6329q5WATfN6nLmWEvAyLemlU2iNi8 ltRsRRt7tezhvCmXW6wxwXWwDH7TR3u5/y3e+5bT/VkvU2dxDX/PbemfONUECND8no68 O+B/Ek+a2l66JCOs4pJWeCCmeDKLUaNkT+hDZoTT21owNGkqhfnJkFUcbxFZ6fatV4v9 Rn/A== X-Gm-Message-State: AOAM533xaIc7YIMuD7eJy5hYfOZcHynjAUhKvSuF1DzWpJPTEnhsstTj 9X8aZPiG8u/WrWCwpuh7P3pUGXendhbsJvml8qk= X-Google-Smtp-Source: ABdhPJwcfDhW4EJlHAF1qp+lxGKxkAIa85vTEPQSXp/4yjP1RCyr2aPY+j72ykxywLy+xts7STU0iRhZPPfWb1hTaBg= X-Received: by 2002:a05:6638:1393:: with SMTP id w19mr793854jad.86.1630571991633; Thu, 02 Sep 2021 01:39:51 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 2 Sep 2021 10:39:25 +0200 Message-ID: To: kevin@lyda.ie Cc: PHP internals Content-Type: multipart/alternative; boundary="00000000000057930d05caff2031" Subject: Re: [PHP-DEV] Adding a way to disable the stat cache From: kjarli@gmail.com (Lynn) --00000000000057930d05caff2031 Content-Type: text/plain; charset="UTF-8" On Thu, Sep 2, 2021 at 10:27 AM Kevin Lyda wrote: > PHP has a stat cache which is... unfortunate. As noted in this bug from > 2004[0] it causes a number of issues for PHP users and is irrelevant > in modern operating systems. Heck, it's not even useful in OS's people > might consider ancient at this point. > I have had to add clearstatcache in the past, and probably having a bunch of places where this should be added and isn't yet causing subtle and hard to find bugs, I welcome this option. --00000000000057930d05caff2031--