--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 (Error $e) {
echo $e->getMessage(), "\n";
echo $e->getPrevious()->getMessage(), "\n";
}
?>
===DONE===
--EXPECT--
string(4) "TeSt"
Invalid callback TeSt::dateLang, class "TeSt" not found
Autoload exception
===DONE===