1--TEST--
2DOMDocument::validate() should fail if any parameter is given
3--CREDITS--
4Knut Urdalen <knut@php.net>
5#PHPTestFest2009 Norway 2009-06-09 \o/
6--SKIPIF--
7<?php
8require_once dirname(__FILE__) .'/skipif.inc';
9?>
10--FILE--
11<?php
12$dom = new DOMDocument('1.0');
13$dom->validate(true);
14?>
15--EXPECTF--
16Warning: DOMDocument::validate() expects exactly 0 parameters, 1 given in %s on line %d
17