mirror of
https://github.com/php/php-src.git
synced 2024-10-19 07:22:40 +00:00
17 lines
388 B
PHP
17 lines
388 B
PHP
--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
|