ru_php/ext/xsl/tests/xslt008-mb.phpt

29 lines
576 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--TEST--
Test 8: Stream Wrapper Includes
--EXTENSIONS--
zlib
xsl
--FILE--
<?php
echo "Test 8: Stream Wrapper Includes ";
include("prepare.inc");
$xsl = new domDocument;
$xsl->load(__DIR__."/ç§<C3A7>ã<EFBFBD>¯ã¬ãƒ©ã¹ã食ã<C5B8>¹ã‰ãŒã<C592>¾ã<C2BE>™streamsinclude.xsl");
if(!$xsl) {
echo "Error while parsing the document\n";
exit;
}
chdir(__DIR__);
$proc->importStylesheet($xsl);
print "\n";
print $proc->transformToXML($dom);
?>
--EXPECT--
Test 8: Stream Wrapper Includes
<?xml version="1.0" encoding="iso-8859-1"?>
<html><body>bar
a1 b1 c1 <br/>
a2 c2 <br/>
ä3 b3 c3 <br/>
</body></html>