1--TEST--
2XSLTProcessor::importStylesheet() - Test with invalid stylesheet
3--EXTENSIONS--
4xsl
5--FILE--
6<?php
7
8$xslt = new XSLTProcessor();
9$dummy = new stdClass();
10try {
11    var_dump($xslt->importStylesheet($dummy));
12} catch (ValueError $e) {
13    echo $e->getMessage(), "\n";
14}
15
16?>
17--EXPECT--
18XSLTProcessor::importStylesheet(): Argument #1 ($stylesheet) must be a valid XML node
19