1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00
Files
archived-php-src/ext/dom/tests/DOMDocument_config_basic.phpt

29 lines
510 B
PHP

--TEST--
Tests DOMDocument::config read
--CREDITS--
Chris Snyder <chsnyder@gmail.com>
# TestFest 2009 NYPHP
--EXTENSIONS--
dom
--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";
?>
--EXPECTF--
DOMDocument created
Deprecated: Property DOMDocument::$config is deprecated in %s on line %d
Read config:
NULL
Done