blob: 45d25dd859ff7af94a09032c3ad38057c796a2e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--TEST--
DOMCharacterData::replaceData() with no arguments.
--CREDITS--
Eric Lee Stewart <ericleestewart@gmail.com>
# TestFest Atlanta 2009-05-24
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
$document = new DOMDocument;
$root = $document->createElement('root');
$document->appendChild($root);
$cdata = $document->createCDATASection('test');
$root->appendChild($cdata);
$cdata->replaceData();
?>
--EXPECTF--
Warning: DOMCharacterData::replaceData() expects exactly 3 parameters, 0 given in %s on line %d
|