xref: /PHP-5.6/ext/dom/tests/bug52656.phpt (revision 372801d9)
1--TEST--
2Bug #52656 (DOMCdataSection does not work with splitText).
3--SKIPIF--
4<?php require_once('skipif.inc'); ?>
5--FILE--
6<?php
7$CData = new DOMCdataSection('splithere!');
8$CDataSplit = $CData->splitText(5);
9echo get_class($CDataSplit), "\n";
10var_dump($CDataSplit->data);
11?>
12--EXPECT--
13DOMText
14string(5) "here!"
15