mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00

For rationale, see https://github.com/php/php-src/pull/6787 Make extension checks lowercase, add a special case for opcache that has internal name not matching .so filename. Extensions migrated in part 2: * dom * exif * fileinfo * ffi
17 lines
360 B
PHP
17 lines
360 B
PHP
--TEST--
|
|
DOMDocument::saveHTMLFile() should fail if called statically
|
|
--CREDITS--
|
|
Knut Urdalen <knut@php.net>
|
|
#PHPTestFest2009 Norway 2009-06-09 \o/
|
|
--EXTENSIONS--
|
|
dom
|
|
--FILE--
|
|
<?php
|
|
try {
|
|
DOMDocument::saveHTMLFile();
|
|
} catch (Error $e) {
|
|
echo $e->getMessage();
|
|
}
|
|
?>
|
|
--EXPECT--
|
|
Non-static method DOMDocument::saveHTMLFile() cannot be called statically
|