Annotation of embedaddon/php/ext/dom/tests/DOMDocument_validate_error1.phpt, revision 1.1.1.1

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>