Test: /ext/xmlreader/tests/bug73053.phpt - Version 7.2.11        

Bug #73053 XML reader with setSchema now fails under 5.6.25
Submitted: 2016-09-09 04:49:54 Modified: 2017-08-16 16:30:10
From: bruceleister Assigned:
Status: Suspended Package: XML Reader
PHP Version: 5.6.25 OS: Windows Server 2012R2 Standard

There are 3 different diffs reported by users for this test.

Count Diff
3 (60%)
001+ Warning: Use of undefined constant LIBXML_PARSEHUGE - assumed 'LIBXML_PARSEHUGE' (this will throw an Error in a future version of PHP) in %s/bug73053.php on line 6
002+
003+ Warning: XMLReader::open() expects parameter 3 to be integer, string given in %s/bug73053.php on line 6
004+ NULL
005+
006+ Warning: XMLReader::setSchema(): Unable to set schema. This must be set prior to reading or schema contains errors. in %s/bug73053.php on line 7
007+
008+ Warning: XMLReader::read(): Load Data before trying to read in %s/bug73053.php on line 8
001- bool(true)
1 (20%)
002+
003+ Warning: XMLReader::read(): Element 'book', attribute 'id': '' is not a valid value of the atomic type 'xs:positiveInteger'. in %s/bug73053.php on line 8
1 (20%)
001+ Warning: Use of undefined constant LIBXML_PARSEHUGE - assumed 'LIBXML_PARSEHUGE' (this will throw an Error in a future version of PHP) in %s/bug73053.php on line 6
002+
001- bool(true)
002- ===DONE===
003+ Warning: XMLReader::open() expects parameter 3 to be integer, string given in %s/bug73053.php on line 6
004+ NULL
005+
006+ Fatal error: Uncaught Error: Call to undefined method XMLReader::setSchema() in %s/bug73053.php:7
007+ Stack trace:
008+ #0 {main}
009+ thrown in %s/bug73053.php on line 7