DOMDocument_load_basic.phpt 507 B

123456789101112131415161718192021
  1. --TEST--
  2. Test DOMDocument::load() basic behavior
  3. --DESCRIPTION--
  4. This test verifies the basic behaviour of the method
  5. Environment variables used in the test:
  6. - XML_FILE: the xml file to load
  7. - LOAD_OPTIONS: the second parameter to pass to the method
  8. - EXPECTED_RESULT: the expected result
  9. --CREDITS--
  10. Antonio Diaz Ruiz <dejalatele@gmail.com>
  11. --INI--
  12. assert.bail=true
  13. --EXTENSIONS--
  14. dom
  15. --ENV--
  16. XML_FILE=/book.xml
  17. LOAD_OPTIONS=0
  18. EXPECTED_RESULT=1
  19. --FILE_EXTERNAL--
  20. domdocumentload_test_method.inc
  21. --EXPECT--