Annotation of embedaddon/php/ext/dom/tests/DOMDocument_strictErrorChecking_basic.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: DomDocument::$strictErrorChecking - basic test
! 3: --CREDITS--
! 4: Vincent 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(dirname(__FILE__)."/book.xml");
! 13:
! 14: var_dump($doc->strictErrorChecking);
! 15:
! 16: $doc->strictErrorChecking = false;
! 17: var_dump($doc->strictErrorChecking);
! 18:
! 19: ?>
! 20: --EXPECT--
! 21: bool(true)
! 22: bool(false)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>