On 21 December 2024 16:43:39 GMT, Jakub Zelenka <bu...@php.net> wrote: >I would prefer to disable it by default but keep some option (INI) to >re-enable it. Rather than a global setting, which would make behaviour even more unpredictable in libraries and out-the-box applications, I wonder if we could make the cache explicit on the functions that use it? I'm thinking for instance of an extra argument, like: $perms = fileperms($name, statcache: true); $size = filesize($name, statcache: true); I'm not sure if this should default to false straight away, or be introduced gradually somehow, but it would make the behaviour much more explicit. Regards, Rowan Tommins [IMSoP]
- [PHP-DEV] Discussion: Remove file statcache? Larry Garfield
- Re: [PHP-DEV] Discussion: Remove file statcache... Calvin Buckley
- Re: [PHP-DEV] Discussion: Remove file statcache... Christoph M. Becker
- Re: [PHP-DEV] Discussion: Remove file statc... Jakub Zelenka
- Re: [PHP-DEV] Discussion: Remove file statc... Larry Garfield
- Re: [PHP-DEV] Discussion: Remove file s... Christoph M. Becker
- Re: [PHP-DEV] Discussion: Remove file statcache... Lynn
- Re: [PHP-DEV] Discussion: Remove file statcache... Sebastian Bergmann
- Re: [PHP-DEV] Discussion: Remove file statcache... Rowan Tommins [IMSoP]
- Re: [PHP-DEV] Discussion: Remove file statcache... Jakub Zelenka
- Re: [PHP-DEV] Discussion: Remove file statc... Rowan Tommins [IMSoP]
- Re: [PHP-DEV] Discussion: Remove file s... Niels Dossche
- Re: [PHP-DEV] Discussion: Remove fi... Rowan Tommins [IMSoP]
- Re: [PHP-DEV] Discussion: Remo... Niels Dossche
- Re: [PHP-DEV] Discussion: ... Rowan Tommins [IMSoP]
- Re: [PHP-DEV] Discussi... Niels Dossche
- Re: [PHP-DEV] Discussi... Rowan Tommins [IMSoP]
- Re: [PHP-DEV] Discussion: Remove file statc... Larry Garfield
- Re: [PHP-DEV] Discussion: Remove file s... Jakub Zelenka
- Re: [PHP-DEV] Discussion: Remove fi... Jakub Zelenka
- Re: [PHP-DEV] Discussion: Remo... Kévin Dunglas