1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 18:53:33 +02:00
Files
archived-php-src/ext/xmlwriter/tests/xmlwriter_write_dtd_error_001.phpt
T
2009-05-16 15:13:57 +00:00

16 lines
369 B
PHP

--TEST--
xmlwriter_write_dtd with missing param(s)
--SKIPIF--
<?php if (!extension_loaded("xmlwriter")) print "skip"; ?>
--FILE--
<?php
$xmlwriter = xmlwriter_open_memory();
var_dump(xmlwriter_write_dtd($xmlwriter));
?>
--CREDIT--
Koen Kuipers koenk82@gmail.com
--EXPECTF--
Warning: xmlwriter_write_dtd() expects at least %d parameters, %d given in %s on line %d
NULL