1--TEST--
2Tests DOMDocument::config read
3--CREDITS--
4Chris Snyder <chsnyder@gmail.com>
5# TestFest 2009 NYPHP
6--EXTENSIONS--
7dom
8--FILE--
9<?php
10// create dom document
11$dom = new DOMDocument;
12echo "DOMDocument created\n";
13
14$test = $dom->config;
15echo "Read config:\n";
16var_dump( $test );
17
18// note -- will always be null as DOMConfiguration is not implemented in PHP
19
20echo "Done\n";
21?>
22--EXPECTF--
23DOMDocument created
24
25Deprecated: Property DOMDocument::$config is deprecated in %s on line %d
26Read config:
27NULL
28Done
29