Re: Improving mail() 5th parameter handling
| From: | Stanislav Malyshev | Date: | Mon, 16 Jan 2017 21:02:18 +0000 |
| Subject: | Re: Improving mail() 5th parameter handling | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-97794@lists.php.net to get a copy of this message | ||
Hi!
> - Allow array additional_parameter and soft deprecate (document
> deprecation) string one.
> - Use key as "option name" and validate chars
> - Use value as "option value" and validate some control chars then apply
> escapeshellarg()
Making array sounds good, but I'm not sure what is meant by "option
name" here - CLI arguments don't have names?
--
Stas Malyshev
smalyshev@gmail.com