Annotation of embedaddon/php/ext/dom/tests/DOMCharacterData_substringData_basic_001.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: __DOMCharacterData::substringData pull mid section of string 
                      3: --CREDITS--
                      4: Nic Rosental nicrosental@gmail.com
                      5: # TestFest Atlanta 2009-5-28 
                      6: --SKIPIF--
                      7: <?php require_once('skipif.inc'); ?>
                      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);
                     17: print $cdata->substringData(1, 6);
                     18: 
                     19: ?>
                     20: --EXPECT--
                     21: estfes

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>