From ec58a6f1b062a0c09cd1ef4097f257d5c1bb5e4e Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 14 Jan 2021 11:08:44 +0100 Subject: Remove SEPARATE_ZVAL_IF_NOT_REF() macro This macro hasn't made sense since PHP 7. The correct pattern to use is ZVAL_DEREF + SEPARATE_ZVAL_NOREF. --- docs/parameter-parsing-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/parameter-parsing-api.md b/docs/parameter-parsing-api.md index 2883c7014c..c962fc6ee5 100644 --- a/docs/parameter-parsing-api.md +++ b/docs/parameter-parsing-api.md @@ -93,7 +93,7 @@ The following characters also have a meaning in the specifier string: * `|` - indicates that the remaining parameters are optional, they should be initialized to default values by the extension since they will not be touched by the parsing function if they are not passed to it. -* `/` - use SEPARATE_ZVAL_IF_NOT_REF() on the parameter it follows +* `/` - use SEPARATE_ZVAL() on the parameter it follows * `!` - the parameter it follows can be of specified type or NULL. If NULL is passed and the output for such type is a pointer, then the output pointer is set to a native NULL pointer. For 'b', 'l' and 'd', an extra argument of type -- cgit v1.2.1