Re: Discussion: Remove file statcache?
| From: | Rowan Tommins [IMSoP] | Date: | Sat, 21 Dec 2024 20:38:40 +0000 |
| Subject: | Re: Discussion: Remove file statcache? | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-126159@lists.php.net to get a copy of this message | ||
On 21 December 2024 18:49:46 GMT, Niels Dossche <dossche.niels@gmail.com> wrote:
>> $perms = fileperms($name, statcache: true);
>> $size = filesize($name, statcache: true);
>
>In my opinion, this will become very messy.
Could you elaborate?
>Changing a default would be another BC break.
"Another" after what? Adding either an INI setting or an optional parameter is not a BC
break, unless and until the default is changed, at which point there is exactly one BC break.
Regards,
Rowan Tommins
[IMSoP]