]> granicus.if.org Git - php/commitdiff
fix test
authorAntony Dovgal <tony2001@php.net>
Fri, 20 Apr 2007 21:01:03 +0000 (21:01 +0000)
committerAntony Dovgal <tony2001@php.net>
Fri, 20 Apr 2007 21:01:03 +0000 (21:01 +0000)
ext/libxml/tests/003.phpt

index dcf6c0bb65d69a54948e916a50911f0adebc080b..9ea815a6e1e91029e2f4574631c3fc84f39c0146 100644 (file)
@@ -15,7 +15,7 @@ $xmlstr = <<< XML
     </movies>
 XML;
 
-simplexml_load_string($xmlstr);
+simplexml_load_string((binary)$xmlstr);
 
 // test memleaks here
 var_dump(libxml_use_internal_errors(false));