1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/ext/xmlwriter/tests/xmlwriter_open_uri_error_001.phpt
2024-08-21 21:12:17 +01:00

19 lines
374 B
PHP

--TEST--
xmlwriter_open_uri with empty string as parameter
--EXTENSIONS--
xmlwriter
--FILE--
<?php
try {
xmlwriter_open_uri('');
} catch (ValueError $exception) {
echo $exception->getMessage() . "\n";
}
?>
--CREDITS--
Koen Kuipers koenk82@gmail.com
Theo van der Zee
#Test Fest Utrecht 09-05-2009
--EXPECT--
xmlwriter_open_uri(): Argument #1 ($uri) must not be empty