1<?php
2include(dirname(__FILE__) . '/domdocumentload_utilities.php');
3
4$doc = new DOMDocument();
5
6$libxml_options = libxml_options_to_int(getenv('LOAD_OPTIONS'));
7
8$result = $doc->load(dirname(__FILE__) . getenv('XML_FILE'), $libxml_options);
9
10$expectedResult = (bool) getenv('EXPECTED_RESULT');
11assert('$result === $expectedResult');
12?>
13