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.
1 parent 632708a commit de643aaCopy full SHA for de643aa
ext/xmlwriter/php_xmlwriter.c
@@ -1179,6 +1179,9 @@ static PHP_FUNCTION(xmlwriter_start_cdata)
1179
zval *self = getThis();
1180
1181
if (self) {
1182
+ if (zend_parse_parameters_none() == FAILURE) {
1183
+ return;
1184
+ }
1185
XMLWRITER_FROM_OBJECT(intern, self);
1186
} else {
1187
if (zend_parse_parameters(ZEND_NUM_ARGS(), "r", &pind) == FAILURE) {
@@ -1245,6 +1248,9 @@ static PHP_FUNCTION(xmlwriter_start_comment)
1245
1248
1246
1249
1247
1250
1251
1252
1253
1254
1255
1256
0 commit comments