From 6e2048025023d85f08064eb34ea2918eb5932e5c Mon Sep 17 00:00:00 2001 From: Weilin Du Date: Sat, 11 Jul 2026 17:06:34 +0800 Subject: [PATCH] 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. --- docs/source/core/data-structures/zend_string.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/core/data-structures/zend_string.rst b/docs/source/core/data-structures/zend_string.rst index 292028e43497..d341347277a4 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)``