Commit 6e204802502 for php.net
commit 6e2048025023d85f08064eb34ea2918eb5932e5c
Author: Weilin Du <weilindu@php.net>
Date: Sat Jul 11 17:06:34 2026 +0800
Doc: Rename ZSTR_INIT to ZSTR_INIT_LITERAL in documentation
We don't have a macro named ZSTR_INIT. This should be ZSTR_INIT_LITERAL instead.
diff --git a/docs/source/core/data-structures/zend_string.rst b/docs/source/core/data-structures/zend_string.rst
index 292028e4349..d341347277a 100644
--- a/docs/source/core/data-structures/zend_string.rst
+++ b/docs/source/core/data-structures/zend_string.rst
@@ -70,7 +70,7 @@ new strings.
- - Function/Macro [#persistent]_
- Description
- - - ``ZSTR_INIT(s, p)``
+ - - ``ZSTR_INIT_LITERAL(s, p)``
- Creates a new string from a string literal.
- - ``zend_string_init(s, l, p)``