mirror of
https://github.com/php/php-src.git
synced 2026-04-26 01:18:19 +02:00
I believe Rob indicated that XML() should take strictly a binary string.
This commit is contained in:
@@ -1098,7 +1098,7 @@ PHP_METHOD(xmlreader, XML)
|
||||
xmlParserInputBufferPtr inputbfr;
|
||||
xmlTextReaderPtr reader = NULL;
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s!l", &source, &source_len, &encoding, &encoding_len, &options) == FAILURE) {
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S|s!l", &source, &source_len, &encoding, &encoding_len, &options) == FAILURE) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user