diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2021-02-09 12:29:50 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-02-09 12:29:50 +0100 |
commit | e32d5e8fe79360daa6d75f496776d91cf9d32852 (patch) | |
tree | 7dad25979417494947c24bfd094cbc34f52a3f36 /ext/dom/domimplementation.c | |
parent | cfb94b22d549b68dd4618c04c889a190529e0ee9 (diff) | |
parent | 3549f48edc914db041d81ae207400971d1c6c43c (diff) | |
download | php-git-e32d5e8fe79360daa6d75f496776d91cf9d32852.tar.gz |
Merge branch 'PHP-8.0'
* PHP-8.0:
Make createDocument() $namespace nullable
Diffstat (limited to 'ext/dom/domimplementation.c')
-rw-r--r-- | ext/dom/domimplementation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dom/domimplementation.c b/ext/dom/domimplementation.c index b195af5549..24b04f2b68 100644 --- a/ext/dom/domimplementation.c +++ b/ext/dom/domimplementation.c @@ -127,7 +127,7 @@ PHP_METHOD(DOMImplementation, createDocument) char *prefix = NULL, *localname = NULL; dom_object *doctobj; - if (zend_parse_parameters(ZEND_NUM_ARGS(), "|ssO!", &uri, &uri_len, &name, &name_len, &node, dom_documenttype_class_entry) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s!sO!", &uri, &uri_len, &name, &name_len, &node, dom_documenttype_class_entry) == FAILURE) { RETURN_THROWS(); } |