--TEST--
Fork of bug33853.phpt with exit replaced by throw
--EXTENSIONS--
xsl
--FILE--
loadXML('
');
$inputdom = new DomDocument();
$inputdom->loadXML('
');
$proc = new XsltProcessor();
$proc->registerPhpFunctions();
$xsl = $proc->importStylesheet($xsl);
try {
$newdom = $proc->transformToDoc($inputdom);
} catch (Exception $e) {
echo $e->getMessage(), "\n";
}
?>
===DONE===
--EXPECT--
string(4) "TeSt"
Autoload exception
===DONE===