Annotation of embedaddon/php/ext/dom/tests/DOMDocumentType_name_error_001.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: DOMDocumentType::name with invalid state.
! 3: --CREDITS--
! 4: Eric Lee Stewart <ericleestewart@gmail.com>
! 5: # TestFest Atlanta 2009-05-25
! 6: --SKIPIF--
! 7: <?php require_once('skipif.inc'); ?>
! 8: --FILE--
! 9: <?php
! 10: $doctype = new DOMDocumentType();
! 11: $name = $doctype->name;
! 12: ?>
! 13: --EXPECTF--
! 14: Warning: main(): Invalid State Error in %s on line %d
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>