diff options
author | Olly Betts <olly@survex.com> | 2021-12-24 18:27:48 +1300 |
---|---|---|
committer | Olly Betts <olly@survex.com> | 2022-01-19 16:41:59 +1300 |
commit | 5638360a49108a2ebc2027730931608b52710ba6 (patch) | |
tree | 7fe2c45132ee71cbdc7ff2a68b57b2e87c440050 | |
parent | 52d3ca956206f114c2c53e6d27be5255ab6162e2 (diff) | |
download | swig-5638360a49108a2ebc2027730931608b52710ba6.tar.gz |
Improve code comment
-rw-r--r-- | Lib/php/phprun.swg | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/php/phprun.swg b/Lib/php/phprun.swg index 6c79296ce..a24b2551c 100644 --- a/Lib/php/phprun.swg +++ b/Lib/php/phprun.swg @@ -31,9 +31,9 @@ extern "C" { # define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(name, byref, num_req, types) \ ZEND_BEGIN_ARG_INFO_EX(name, 0, byref, num_req) -/* NB We ignore `default` here because this mechanism for specifying default - * values was new in PHP 8.0 and so we don't currently make use of it (we - * always pass NULL. +/* NB We can just ignore `default` here we currently always pass NULL for it + * (this mechnism for specifying default parameter values was new in PHP 8.0 + * so it's not useful while we still want to support PHP7 too). */ # define ZEND_ARG_OBJ_TYPE_MASK(byref, name, classes, types, default) \ ZEND_ARG_INFO(byref, name) |