mirror of
https://github.com/php/php-src.git
synced 2024-10-04 00:06:16 +00:00
16 lines
379 B
Plaintext
16 lines
379 B
Plaintext
|
--TEST--
|
||
|
DOMDocument::saveHTMLFile() should fail if called statically
|
||
|
--CREDITS--
|
||
|
Knut Urdalen <knut@php.net>
|
||
|
#PHPTestFest2009 Norway 2009-06-09 \o/
|
||
|
--SKIPIF--
|
||
|
<?php
|
||
|
require_once dirname(__FILE__) .'/skipif.inc';
|
||
|
?>
|
||
|
--FILE--
|
||
|
<?php
|
||
|
DOMDocument::saveHTMLFile();
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Fatal error: Non-static method DOMDocument::saveHTMLFile() cannot be called statically in %s on line %d
|