mirror of
https://github.com/php/php-src.git
synced 2025-08-17 22:48:57 +02:00

In ext/dom all the tests with a EXPECTF section starting by "Fatal error: Uncaught" have been updated to use the faster EXPECT
19 lines
398 B
PHP
19 lines
398 B
PHP
--TEST--
|
|
DOMDocument::saveHTMLFile() 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::saveHTMLFile();
|
|
} catch (Error $e) {
|
|
echo $e->getMessage();
|
|
}
|
|
?>
|
|
--EXPECT--
|
|
Non-static method DOMDocument::saveHTMLFile() cannot be called statically
|