1--TEST--
2DomDocument::schemaValidateSource() - pass no parameters
3--CREDITS--
4Daniel Convissor <danielc@php.net>
5# TestFest 2009 NYPHP
6--SKIPIF--
7<?php require_once('skipif.inc'); ?>
8--FILE--
9<?php
10
11$doc = new DOMDocument;
12
13$doc->load(dirname(__FILE__)."/book.xml");
14
15$result = $doc->schemaValidateSource();
16var_dump($result);
17
18?>
19--EXPECTF--
20Warning: DOMDocument::schemaValidateSource() expects exactly 1 parameter, 0 given in %s.php on line %d
21NULL
22