[php-src] PR #18636: Avoid string copies in ext/intl after string conversion
| From: | nielsdos | Date: | Sat, 24 May 2025 13:05:21 +0000 |
| Subject: | [php-src] PR #18636: Avoid string copies in ext/intl after string conversion | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-31774@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18636
Author: nielsdos
Introduces intl_convert_utf8_to_utf16_zstr() to convert a UTF-8 string to a UTF-16 string
zend_string* instance. This way we avoid a double copy later from a UChar* into a zend_string*.