1--TEST-- 2xmlwriter_set_indent_string passing xmlwriter resource 3--SKIPIF-- 4<?php if (!extension_loaded("xmlwriter")) print "skip"; ?> 5--FILE-- 6<?php 7$temp_filename = __DIR__."/xmlwriter_set_indent_string.tmp"; 8 $fp = fopen($temp_filename, "w"); 9 fwrite ($fp, "Hi"); 10 fclose($fp); 11$resource = xmlwriter_open_uri($temp_filename); 12var_dump(xmlwriter_set_indent_string($resource, ' ')); 13?> 14--CLEAN-- 15<?php 16$temp_filename = __DIR__."/xmlwriter_set_indent_string.tmp"; 17unlink($temp_filename); 18?> 19--CREDITS-- 20Koen Kuipers koenk82@gmail.com 21Theo van der Zee 22#Test Fest Utrecht 09-05-2009 23--EXPECT-- 24bool(true) 25