summaryrefslogtreecommitdiff
path: root/ext/xmlwriter/tests/xmlwriter_write_dtd_error_001.phpt
blob: 7968eb456aac467942d54c0c3235c331d5a77f38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--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