We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7f78f83 + de643aa commit 2b06165Copy full SHA for 2b06165
ext/xmlwriter/php_xmlwriter.c
@@ -876,6 +876,9 @@ static PHP_FUNCTION(xmlwriter_start_cdata)
876
zval *self = getThis();
877
878
if (self) {
879
+ if (zend_parse_parameters_none() == FAILURE) {
880
+ return;
881
+ }
882
XMLWRITER_FROM_OBJECT(intern, self);
883
} else {
884
if (zend_parse_parameters(ZEND_NUM_ARGS(), "r", &pind) == FAILURE) {
@@ -942,6 +945,9 @@ static PHP_FUNCTION(xmlwriter_start_comment)
942
945
943
946
944
947
948
949
950
951
952
953
0 commit comments