summaryrefslogtreecommitdiff
path: root/ext/xmlreader/php_xmlreader_arginfo.h
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-05-03 12:58:02 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-05-06 19:15:39 +0200
commit60412c37aea007107e5b3cf03287321216cb58c4 (patch)
tree3afbe241ee1984bb68ee90a8c6af5b6470adac49 /ext/xmlreader/php_xmlreader_arginfo.h
parent89d170758777f0f888006dcca8972966ca14ede4 (diff)
downloadphp-git-60412c37aea007107e5b3cf03287321216cb58c4.tar.gz
Fix UNKNOWN default values in ext/xml
Diffstat (limited to 'ext/xmlreader/php_xmlreader_arginfo.h')
-rw-r--r--ext/xmlreader/php_xmlreader_arginfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/xmlreader/php_xmlreader_arginfo.h b/ext/xmlreader/php_xmlreader_arginfo.h
index 0b9d28c944..83a5ce6a22 100644
--- a/ext/xmlreader/php_xmlreader_arginfo.h
+++ b/ext/xmlreader/php_xmlreader_arginfo.h
@@ -41,7 +41,7 @@ ZEND_END_ARG_INFO()
#define arginfo_class_XMLReader_read arginfo_class_XMLReader_close
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLReader_next, 0, 0, 0)
- ZEND_ARG_TYPE_INFO(0, localname, IS_STRING, 0)
+ ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, localname, IS_STRING, 1, "null")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLReader_open, 0, 0, 1)