1--TEST-- 2DomDocument::$strictErrorChecking - basic test 3--CREDITS-- 4Vincent Tsao <notes4vincent@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(__DIR__."/book.xml"); 13 14var_dump($doc->strictErrorChecking); 15 16$doc->strictErrorChecking = false; 17var_dump($doc->strictErrorChecking); 18 19?> 20--EXPECT-- 21bool(true) 22bool(false) 23