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