--TEST-- Check XSLTProcessor::transformToURI() with 3 parameters --CREDITS-- Rodrigo Prado de Jesus --SKIPIF-- --FILE-- bob joe EOB; $xsl = <<

Users

EOB; $xmldoc = new DOMDocument('1.0', 'utf-8'); $xmldoc->loadXML($xml); $xsldoc = new DOMDocument('1.0', 'utf-8'); $xsldoc->loadXML($xsl); $proc = new XSLTProcessor(); $proc->registerPHPFunctions(); $proc->importStyleSheet($xsldoc); $uri = 'php://output'; echo $proc->transformToURI($xsldoc, $uri, 'stringValue'); ?> --EXPECTF-- Warning: XSLTProcessor::transformToUri() expects exactly 2 parameters, 3 given in %s on line %i