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