php-src/ext/dom/tests/DOMCDATASection_construct_error_001.phpt
2015-05-16 16:49:14 -05:00

17 lines
367 B
PHP

--TEST--
__construct() with no arguments.
--CREDITS--
Nic Rosental nicrosental@gmail.com
# TestFest Atlanta 2009-5-14
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
try {
$section = new DOMCDataSection();
} catch (TypeError $e) {
echo $e->getMessage();
}
?>
--EXPECT--
DOMCdataSection::__construct() expects exactly 1 parameter, 0 given