1--TEST--
2DOMDocument::$preserveWhiteSpace - test ability to read and write property
3--CREDITS--
4Lev Radin <prokurator@gmail.com>
5# TestFest 2009 NYPHP
6--SKIPIF--
7<?php require_once('skipif.inc'); ?>
8--FILE--
9<?php
10
11$doc = new DOMDocument;
12$doc->load(dirname(__FILE__)."/book.xml");
13
14var_dump($doc->preserveWhiteSpace);
15
16$doc->preserveWhiteSpace = false;
17var_dump($doc->preserveWhiteSpace);
18
19?>
20--EXPECT--
21bool(true)
22bool(false)
23