summaryrefslogtreecommitdiff
path: root/ext/dom/tests/DOMDocument_config_basic.phpt
blob: 947743abe6e354c34a1dd88dd50d6f8c0edb8875 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--TEST--
Tests DOMDocument::config read
--CREDITS--
Chris Snyder <chsnyder@gmail.com>
# TestFest 2009 NYPHP
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
// create dom document
$dom = new DOMDocument;
echo "DOMDocument created\n";

$test = $dom->config;
echo "Read config:\n";
var_dump( $test );

// note -- will always be null as DOMConfiguration is not implemented in PHP

echo "Done\n";
?>
--EXPECT--
DOMDocument created
Read config:
NULL
Done