summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-01-14 11:08:44 +0100
committerNikita Popov <nikita.ppv@gmail.com>2021-01-14 11:08:44 +0100
commitec58a6f1b062a0c09cd1ef4097f257d5c1bb5e4e (patch)
tree578ac15d4bb13d2ca984b86c418f8782f51d56d2 /docs
parentaa517858898e8bd8bfab0b83748dcca9bf616edf (diff)
downloadphp-git-ec58a6f1b062a0c09cd1ef4097f257d5c1bb5e4e.tar.gz
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.
Diffstat (limited to 'docs')
-rw-r--r--docs/parameter-parsing-api.md2
1 files changed, 1 insertions, 1 deletions
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