DOMDocument_loadHTMLfile.phpt 367 B

1234567891011121314151617
  1. --TEST--
  2. Test DOMDocument::loadHTMLFile
  3. --DESCRIPTION--
  4. Verifies the basic behaviour of the method
  5. --CREDITS--
  6. Antonio Diaz Ruiz <dejalatele@gmail.com>
  7. --INI--
  8. assert.bail=true
  9. --SKIPIF--
  10. <?php include('skipif.inc'); ?>
  11. --FILE--
  12. <?php
  13. $doc = new DOMDocument();
  14. $result = $doc->loadHTMLFile(dirname(__FILE__) . "/test.html");
  15. assert('$result === true');
  16. ?>
  17. --EXPECT--