Searched refs:XMLReader (Results 1 – 25 of 49) sorted by relevance
12
/PHP-8.0/ext/xmlreader/ |
H A D | php_xmlreader_arginfo.h | 86 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 D | config.m4 | 2 [whether to enable XMLReader support], 4 [Disable XMLReader support])], 10 AC_MSG_ERROR([XMLReader extension requires LIBXML extension, add --with-libxml])
|
H A D | php_xmlreader.stub.php | 5 class XMLReader class 52 /** @return bool|XMLReader */ 76 /** @return bool|XMLReader */
|
H A D | config.w32 | 3 ARG_ENABLE("xmlreader", "XMLReader support", "yes"); 11 AC_DEFINE("HAVE_XMLREADER", 1, "XMLReader support");
|
/PHP-8.0/ext/xmlreader/tests/ |
H A D | 012.phpt | 2 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 D | 013.phpt | 2 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 D | 005.phpt | 2 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 D | setSchema_error.phpt | 2 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 D | open_error.phpt | 2 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 D | bug64230.phpt | 2 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 D | 002.phpt | 2 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 D | expand_error.phpt | 2 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 D | setParserProperty_error.phpt | 2 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 D | bug81521.phpt | 2 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 D | bug73246.phpt | 2 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 D | 001.phpt | 2 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 D | 011.phpt | 2 XMLReader: libxml2 XML Reader, string data 5 $reader = new XMLReader(); 14 $reader = new XMLReader(); 22 $reader = new XMLReader();
|
H A D | bug74457.phpt | 2 XMLReader: Bug #74457 Wrong reflection on XMLReader::expand 7 $rm = new ReflectionMethod(XMLReader::class, 'expand');
|
H A D | 007.phpt | 2 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 D | readString_basic.phpt | 2 XMLReader: readString basic 4 <?php if (!extension_loaded("xmlreader")) print "skip XMLReader extension required"; ?> 10 $reader = new XMLReader();
|
H A D | bug51936.phpt | 2 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 D | static.phpt | 2 Calling XMLReader::open() and ::XML() statically 15 $reader = XMLReader::open($filename); 20 $reader = XMLReader::XML($xmlstring);
|
H A D | expand.phpt | 2 XMLReader: Expand into existing DOM documet 6 $reader = new XMLReader(); 21 $reader = new XMLReader();
|
H A D | bug36743.phpt | 2 Bug #36743 (In a class extending XMLReader array properties are not writable) 8 class Test extends XMLReader
|
H A D | next_basic.phpt | 2 XMLReader: next basic 4 <?php if (!extension_loaded("xmlreader")) print "skip XMLReader extension required"; ?> 11 $reader = new XMLReader();
|
Completed in 21 milliseconds
12