xref: /php-src/ext/dom/tests/bug52656.phpt (revision bd9f4fa6)
1--TEST--
2Bug #52656 (DOMCdataSection does not work with splitText).
3--EXTENSIONS--
4dom
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