]> granicus.if.org Git - php/commitdiff
- Fix test
authorJohannes Schlüter <johannes@php.net>
Tue, 1 May 2007 08:35:57 +0000 (08:35 +0000)
committerJohannes Schlüter <johannes@php.net>
Tue, 1 May 2007 08:35:57 +0000 (08:35 +0000)
ext/dom/tests/dom_xinclude.phpt

index f9a3dd761ede6a6a62b4296d6319cbbecd59fc67..427d2c21648b73261319484a345b18d87157b0b6 100644 (file)
@@ -12,7 +12,7 @@ $dom = new domdocument;
 $data = file_get_contents(dirname(__FILE__)."/xinclude.xml");
 $data = str_replace('compress.zlib://ext/dom/tests/','compress.zlib://'.dirname(__FILE__).'/', $data);
 
-$dom->loadXML($data);
+$dom->loadXML((binary)$data);
 
 $dom->xinclude();
 print $dom->saveXML()."\n";