Annotation of embedaddon/php/ext/dom/tests/bug52656.phpt, revision 1.1.1.2
1.1 misho 1: --TEST--
2: Bug #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);
1.1.1.2 ! misho 9: echo get_class($CDataSplit), "\n";
! 10: var_dump($CDataSplit->data);
1.1 misho 11: ?>
12: --EXPECT--
1.1.1.2 ! misho 13: DOMText
1.1 misho 14: string(5) "here!"
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>