1--TEST-- 2XMLReader: open error 3--SKIPIF-- 4<?php if (!extension_loaded("xmlreader")) print "skip XMLReader extension required"; ?> 5--FILE-- 6<?php 7$reader = new XMLReader(); 8var_dump($reader->open(__DIR__.'/missing-file.xml')); 9$reader->close(); 10?> 11--EXPECTF-- 12Warning: XMLReader::open(): Unable to open source data in %s on line %d 13bool(false) 14