[php-src] PR #25704: tree: Use ZVAL_NEW_STR()/ZVAL_STR() instead of assigning Z_STR() directly
| From: | adapik | Date: | Tue, 24 Nov 2026 11:49:07 +0000 |
| Subject: | [php-src] PR #25704: tree: Use ZVAL_NEW_STR()/ZVAL_STR() instead of assigning Z_STR() directly | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-40955@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/25704
Author: adapik
Replace direct
Z_STR(zv) = ... (plus manual
Z_TYPE_INFO/Z_TYPE_FLAGS fixups) with ZVAL_NEW_STR() /
ZVAL_STR(), so the pointer and the type flags are always set together. No functional
change intended.