1--TEST--
2Test DOMDocument::load() with LIBXML_DTDLOAD option
3--DESCRIPTION--
4This test verifies the right behaviour of the LIBXML_DTDLOAD constant
5Environment 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--
10Antonio Diaz Ruiz <dejalatele@gmail.com>
11--INI--
12assert.bail=true
13--SKIPIF--
14<?php include('skipif.inc'); ?>
15--ENV--
16XML_FILE=/book_with_dtd.xml
17LOAD_OPTIONS=LIBXML_DTDLOAD
18EXPECTED_RESULT=1
19--FILE_EXTERNAL--
20domdocumentload_test_method.php
21--EXPECT--
22