Re: [INTERNALS-WIN] Is there a reason why the "winbox-args" code has not been adopted into the PHP source code for escapeshellarg()?
[email protected] (Lester Caine) Mon, 24 Aug 2020 16:16:48 +0100
| Newsgroups | php.internals.win |
|---|---|
| Message-ID | <[email protected]> |
On 24/08/2020 15:45, [email protected] wrote: > How can it be that `file_exists` is able to safely check for its existence, even with the "!"? Does `file_exist` have some internal code which safely and properly checks all valid file names, whereas `escapeshellarg()` for some reason lacks this? https://www.php.net/manual/en/function.escapeshellarg.php -- Lester Caine - G8HFL ----------------------------- Contact - https://lsces.uk/wiki/Contact L.S.Caine Electronic Services - https://lsces.uk Model Engineers Digital Workshop - https://medw.uk Rainbow Digital Media - https://rainbowdigitalmedia.uk