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