mirror of
https://github.com/php/php-src.git
synced 2024-10-02 15:26:06 +00:00
30cdf25f22
New test: DOMAttr read $ownerElement with null parent. New test: DOMAttr write non-string $value property New test: DOMCDATASection __construct() with no arguments. New test: DOMCharacterData - Invalid State Error when getting data out of content.
21 lines
375 B
PHP
21 lines
375 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 (Exception $e)
|
|
{
|
|
echo $e->getMessage();
|
|
}
|
|
?>
|
|
--EXPECT--
|
|
DOMCdataSection::__construct() expects exactly 1 parameter, 0 given
|