mirror of
https://github.com/php/php-src.git
synced 2024-09-24 11:27:28 +00:00
18 lines
430 B
PHP
18 lines
430 B
PHP
--TEST--
|
|
Test DOMDocument::loadHTMLFile when a not-well formed document is loaded
|
|
--DESCRIPTION--
|
|
Verifies the behavior if a not-well formed document is loaded
|
|
--CREDITS--
|
|
Antonio Diaz Ruiz <dejalatele@gmail.com>
|
|
--INI--
|
|
assert.bail=true
|
|
--SKIPIF--
|
|
<?php include('skipif.inc'); ?>
|
|
--FILE--
|
|
<?php
|
|
$doc = new DOMDocument();
|
|
$result = $doc->loadHTMLFile(dirname(__FILE__) . "/not_well.html");
|
|
assert($result === true);
|
|
?>
|
|
--EXPECT--
|