Home
last modified time | relevance | path

Searched refs:XMLReader (Results 1 – 25 of 49) sorted by relevance

12

/PHP-8.0/ext/xmlreader/
H A Dphp_xmlreader_arginfo.h86 ZEND_METHOD(XMLReader, close);
87 ZEND_METHOD(XMLReader, getAttribute);
91 ZEND_METHOD(XMLReader, isValid);
99 ZEND_METHOD(XMLReader, read);
100 ZEND_METHOD(XMLReader, next);
101 ZEND_METHOD(XMLReader, open);
102 ZEND_METHOD(XMLReader, readInnerXml);
104 ZEND_METHOD(XMLReader, readString);
105 ZEND_METHOD(XMLReader, setSchema);
109 ZEND_METHOD(XMLReader, XML);
[all …]
H A Dconfig.m42 [whether to enable XMLReader support],
4 [Disable XMLReader support])],
10 AC_MSG_ERROR([XMLReader extension requires LIBXML extension, add --with-libxml])
H A Dphp_xmlreader.stub.php5 class XMLReader class
52 /** @return bool|XMLReader */
76 /** @return bool|XMLReader */
H A Dconfig.w323 ARG_ENABLE("xmlreader", "XMLReader support", "yes");
11 AC_DEFINE("HAVE_XMLREADER", 1, "XMLReader support");
/PHP-8.0/ext/xmlreader/tests/
H A D012.phpt2 XMLReader: accessing empty and non existing attributes
13 $reader = new XMLReader();
30 $reader = new XMLReader();
32 $reader->setParserProperty(XMLReader::DEFAULTATTRS, true);
33 while($reader->read() && $reader->nodeType != XMLReader::ELEMENT);
39 $reader = new XMLReader();
47 //$reader->setParserProperty(XMLReader::DEFAULTATTRS, true);
48 while($reader->read() && $reader->nodeType != XMLReader::ELEMENT);
53 $reader = new XMLReader();
55 $reader->setParserProperty(XMLReader::DEFAULTATTRS, true);
[all …]
H A D013.phpt2 XMLReader: Schema validation
5 <?php if (!method_exists('XMLReader','setSchema')) die('skip XMLReader::setSchema() not supported')…
17 $reader = new XMLReader();
21 if ($reader->nodeType == XMLReader::ELEMENT && $reader->name == 'item') {
37 $reader = new XMLReader();
40 while($reader->read() && $reader->nodeType != XMLReader::ELEMENT);
49 Warning: XMLReader::read(): Element 'foo': %s
H A D005.phpt2 XMLReader: libxml2 XML Reader, parser property set/get
11 $reader = new XMLReader();
16 $a = $reader->setParserProperty(XMLReader::LOADDTD, false);
17 $b = $reader->getParserProperty(XMLReader::LOADDTD);
23 $a = $reader->setParserProperty(XMLReader::SUBST_ENTITIES, true);
24 $b = $reader->getParserProperty(XMLReader::SUBST_ENTITIES);
H A DsetSchema_error.phpt2 XMLReader: setSchema Error
4 <?php if (!extension_loaded("xmlreader")) print "skip XMLReader extension required"; ?>
8 $reader = new XMLReader();
16 $reader = new XMLReader();
24 $reader = new XMLReader();
31 $reader = new XMLReader();
40 XMLReader::setSchema(): Argument #1 ($filename) cannot be empty
H A Dopen_error.phpt2 XMLReader: open error
4 <?php if (!extension_loaded("xmlreader")) print "skip XMLReader extension required"; ?>
7 $reader = new XMLReader();
12 Warning: XMLReader::open(): Unable to open source data in %s on line %d
H A Dbug64230.phpt2 Bug #64230 (XMLReader does not suppress errors)
21 $x = new XMLReader;
30 $x = new XMLReader;
45 Warning: XMLReader::read(): %s: parser error : Specification mandate%A value for attribute att in %…
47 Warning: XMLReader::read(): <root att/> in %s on line %d
49 Warning: XMLReader::read(): ^ in %s on line %d
H A D002.phpt2 XMLReader: libxml2 XML Reader, file data
12 $reader = new XMLReader();
19 $reader = new XMLReader();
32 $reader = new XMLReader();
39 XMLReader::open(): Argument #1 ($uri) cannot be empty
H A Dexpand_error.phpt2 XMLReader: Expand Error
6 $reader = new XMLReader();
15 $reader = new XMLReader();
25 $reader = new XMLReader();
33 Warning: XMLReader::expand(): An Error Occurred while expanding in %s on line %d
H A DsetParserProperty_error.phpt2 XMLReader: setParserProperty Error
4 <?php if (!extension_loaded("xmlreader")) print "skip XMLReader extension required"; ?>
11 $reader = new XMLReader();
21 XMLReader::setParserProperty(): Argument #1 ($property) must be a valid parser property
H A Dbug81521.phpt2 Bug #81521: XMLReader::getParserProperty may throw with a valid property
5 $reader = new XMLReader();
7 var_dump($reader->setParserProperty(XMLReader::LOADDTD, 1));
12 var_dump($reader->getParserProperty(XMLReader::LOADDTD));
H A Dbug73246.phpt2 Bug #73246 (XMLReader: encoding length not checked)
9 $reader = new XMLReader();
14 Warning: XMLReader::open(): Encoding must not contain NUL bytes in %s on line %d
16 Warning: XMLReader::XML(): Encoding must not contain NUL bytes in %s on line %d
H A D001.phpt2 XMLReader: libxml2 XML Reader, string data
11 $reader = new XMLReader();
19 $reader = new XMLReader();
31 XMLReader::XML(): Argument #1 ($source) cannot be empty
H A D011.phpt2 XMLReader: libxml2 XML Reader, string data
5 $reader = new XMLReader();
14 $reader = new XMLReader();
22 $reader = new XMLReader();
H A Dbug74457.phpt2 XMLReader: Bug #74457 Wrong reflection on XMLReader::expand
7 $rm = new ReflectionMethod(XMLReader::class, 'expand');
H A D007.phpt2 XMLReader: libxml2 XML Reader, setRelaxNGSchema
13 $reader = new XMLReader();
28 $reader = new XMLReader();
42 $reader = new XMLReader();
56 XMLReader::setRelaxNGSchema(): Argument #1 ($filename) cannot be empty
H A DreadString_basic.phpt2 XMLReader: readString basic
4 <?php if (!extension_loaded("xmlreader")) print "skip XMLReader extension required"; ?>
10 $reader = new XMLReader();
H A Dbug51936.phpt2 Bug #51936 (Crash with clone XMLReader)
11 $xmlreader = new XMLReader();
22 Fatal error: Uncaught Error: Trying to clone an uncloneable object of class XMLReader in %s:%d
H A Dstatic.phpt2 Calling XMLReader::open() and ::XML() statically
15 $reader = XMLReader::open($filename);
20 $reader = XMLReader::XML($xmlstring);
H A Dexpand.phpt2 XMLReader: Expand into existing DOM documet
6 $reader = new XMLReader();
21 $reader = new XMLReader();
H A Dbug36743.phpt2 Bug #36743 (In a class extending XMLReader array properties are not writable)
8 class Test extends XMLReader
H A Dnext_basic.phpt2 XMLReader: next basic
4 <?php if (!extension_loaded("xmlreader")) print "skip XMLReader extension required"; ?>
11 $reader = new XMLReader();

Completed in 41 milliseconds

12