[php-src] PR #21312: ext/pcre: simplify locale char table lookup and pattern info error ha…
| From: | devnexen | Date: | Fri, 27 Feb 2026 06:40:16 +0000 |
| Subject: | [php-src] PR #21312: ext/pcre: simplify locale char table lookup and pattern info error ha… | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-35045@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21312
Author: devnexen
…ndling
Use zend_hash_str_find_ptr/zend_hash_str_add_new_ptr for the locale character tables hash, avoiding
a temporary zend_string allocation. Consolidate two pcre2_pattern_info calls with identical error
handling into a single conditional.