1--TEST-- 2xmlwriter_open_uri with empty string as parameter 3--SKIPIF-- 4<?php if (!extension_loaded("xmlwriter")) print "skip"; ?> 5--FILE-- 6<?php 7try { 8 xmlwriter_open_uri(''); 9} catch (ValueError $exception) { 10 echo $exception->getMessage() . "\n"; 11} 12?> 13--CREDITS-- 14Koen Kuipers koenk82@gmail.com 15Theo van der Zee 16#Test Fest Utrecht 09-05-2009 17--EXPECT-- 18xmlwriter_open_uri(): Argument #1 ($uri) cannot be empty 19