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