summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2020-07-08 19:33:29 +0200
committerGeorge Peter Banyard <girgias@php.net>2020-07-08 19:38:35 +0200
commit51917241e440d21b282546d6c59a6502ca5fff43 (patch)
tree1c7ff4aa61a934b1267cc817740687d82f7c83d1 /docs
parentb4dc8901c79cd90ae7917f815012ab52e13ab03a (diff)
downloadphp-git-51917241e440d21b282546d6c59a6502ca5fff43.tar.gz
[skip ci] Add info on how to check for PHP NULL when using the ZPP callable check
Diffstat (limited to 'docs')
-rw-r--r--docs/parameter-parsing-api.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/parameter-parsing-api.md b/docs/parameter-parsing-api.md
index 6bf035673b..2883c7014c 100644
--- a/docs/parameter-parsing-api.md
+++ b/docs/parameter-parsing-api.md
@@ -100,6 +100,9 @@ The following characters also have a meaning in the specifier string:
zend_bool* must be passed after the corresponding bool*, zend_long* or
double* arguments, respectively. A non-zero value will be written to the
zend_bool if a PHP NULL is passed.
+ For `f` use the ``ZEND_FCI_INITIALIZED(fci)`` macro to check if a callable
+ has been provided and ``!ZEND_FCI_INITIALIZED(fci)`` to check if a PHP NULL
+ is passed.
## Note on 64bit compatibility