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 dirname(__FILE__) .'/skipif.inc';
9?>
10--FILE--
11<?php
12DOMDocument::saveHTMLFile();
13?>
14--EXPECTF--
15Fatal error: Non-static method DOMDocument::saveHTMLFile() cannot be called statically in %s on line %d
16