Re: [PHP-DEV] Missing warning for stat(), etc. when invoked with empty string

2020-12-04 Thread Nikita Popov
On Fri, Dec 4, 2020 at 9:33 AM Claude Pache wrote: > > > > Le 3 déc. 2020 à 22:05, Levi Morrison a > écrit : > > > > This is a long-standing behavior. Further, I don't know many people > > who want _more_ warnings in their codebase. > > > My guess is that this position was already discussed in t

Re: [PHP-DEV] Missing warning for stat(), etc. when invoked with empty string

2020-12-04 Thread Claude Pache
> Le 3 déc. 2020 à 22:05, Levi Morrison a écrit : > > This is a long-standing behavior. Further, I don't know many people > who want _more_ warnings in their codebase. My guess is that this position was already discussed in the occasion of the several past RFC whose main purpose was to intro

Re: [PHP-DEV] Missing warning for stat(), etc. when invoked with empty string

2020-12-03 Thread Christian Schneider
Am 03.12.2020 um 22:13 schrieb Nikita Popov : > On Thu, Dec 3, 2020 at 10:06 PM Levi Morrison via internals < > internals@lists.php.net > wrote: >> This is a long-standing behavior. Further, I don't know many people >> who want _more_ warnings in their codebase. >>

Re: [PHP-DEV] Missing warning for stat(), etc. when invoked with empty string

2020-12-03 Thread Nikita Popov
On Thu, Dec 3, 2020 at 10:06 PM Levi Morrison via internals < internals@lists.php.net> wrote: > On Thu, Dec 3, 2020 at 6:30 AM Claude Pache > wrote: > > > > [Of course, I meant `stat()`, not `stats()`. Resending the message with > correct spelling, including in subject line. Sorry.] > > > > > > H

Re: [PHP-DEV] Missing warning for stat(), etc. when invoked with empty string

2020-12-03 Thread Levi Morrison via internals
On Thu, Dec 3, 2020 at 6:30 AM Claude Pache wrote: > > [Of course, I meant `stat()`, not `stats()`. Resending the message with > correct spelling, including in subject line. Sorry.] > > > Hi, > > `stat()` and friends invoked with empty string or null as argument, return > `false` (indicating fai