1--TEST--
2DOMDocument::saveHTML() should fail if called statically
3--CREDITS--
4Knut Urdalen <knut@php.net>
5#PHPTestFest2009 Norway 2009-06-09 \o/
6--EXTENSIONS--
7dom
8--FILE--
9<?php
10try {
11    DOMDocument::saveHTML(true);
12} catch (Error $e) {
13    echo $e->getMessage();
14}
15?>
16--EXPECT--
17Non-static method DOMDocument::saveHTML() cannot be called statically
18