1--TEST-- 2xmlwriter_set_indent_string with missing param(s) 3--SKIPIF-- 4<?php if (!extension_loaded("xmlwriter")) print "skip"; ?> 5--FILE-- 6<?php 7$temp_filename = dirname(__FILE__)."/xmlwriter_set_indent_string_error.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 = dirname(__FILE__)."/xmlwriter_set_indent_string_error.tmp"; 17unlink($temp_filename); 18?> 19--CREDITS-- 20Koen Kuipers koenk82@gmail.com 21--EXPECTF-- 22 23Warning: xmlwriter_set_indent_string() expects exactly %d parameters, %d given in %s on line %d 24NULL 25