1--TEST--
2JSON encoding a DOMDocument
3--EXTENSIONS--
4dom
5--FILE--
6<?php
7$doc = new DOMDocument;
8echo json_encode($doc);
9?>
10--EXPECT--
11{}
12