1--TEST--
2__DOMCharacterData::substringData pull mid section of string
3--CREDITS--
4Nic Rosental nicrosental@gmail.com
5# TestFest Atlanta 2009-5-28
6--EXTENSIONS--
7dom
8--FILE--
9<?php
10
11$document = new DOMDocument;
12$root = $document->createElement('root');
13$document->appendChild($root);
14
15$cdata = $document->createCDATASection('testfest');
16$root->appendChild($cdata);
17print $cdata->substringData(1, 6);
18
19?>
20--EXPECT--
21estfes
22