[php-src] PR #20791: ext/standard/mail: Various refactorings (part 2)
| From: | Girgias | Date: | Sun, 28 Dec 2025 00:17:54 +0000 |
| Subject: | [php-src] PR #20791: ext/standard/mail: Various refactorings (part 2) | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-34398@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20791
Author: Girgias
Follow-up from #20782
Commits should be reviewed in order
Part 2 of various refactoring relating to php_mail(), the main objective is to get rid of various
strlen() recomputations when we already know the length of the strings, and various
clean-ups.
There will be a part 3 when #20789 and this gets merged to propagate zend_strings to
the win32 TSendMail() function to remove some more strlen() calls for
known lengths.