Home
last modified time | relevance | path

Searched refs:splitText (Results 1 – 7 of 7) sorted by relevance

/PHP-8.4/ext/dom/tests/
H A Dbug46335.phpt8 $text = 'This is an ‘example’ of using DOM splitText';
18 $matched = $node->splitText($start);
19 $matched->splitText($length);
20 print "splitText (ASCII): $matched->textContent\n";
27 $matched = $node->splitText($start);
28 $matched->splitText($length);
29 print "splitText (UTF-8): $matched->textContent\n";
32 Text: This is an "example" of using DOM splitText
33 splitText (ASCII): DOM
34 Text: This is an ‘example’ of using DOM splitText
[all …]
H A Dbug52656.phpt2 Bug #52656 (DOMCdataSection does not work with splitText).
8 $CDataSplit = $CData->splitText(5);
H A Ddomchardata.phpt57 $text2 = $text->splitText(9);
61 $text3 = $text2->splitText(1);
/PHP-8.4/ext/dom/tests/modern/spec/
H A DText_splitText_edge_case.phpt2 Dom\Text:splitText() edge case
9 var_dump($text->splitText(5)->wholeText);
11 var_dump($text->splitText(-1));
16 var_dump($text->splitText(200));
23 Dom\Text::splitText(): Argument #1 ($offset) must be greater than or equal to 0
/PHP-8.4/ext/dom/
H A Dtext.c97 PHP_METHOD(DOMText, splitText) in PHP_METHOD() argument
H A Dphp_dom.stub.php1102 public function splitText(int $offset) {} function in DOMText
1793 public function splitText(int $offset): Text {} function in Dom\\Text
H A Dphp_dom_arginfo.h1238 ZEND_METHOD(DOMText, splitText);
1512 ZEND_ME(DOMText, splitText, arginfo_class_DOMText_splitText, ZEND_ACC_PUBLIC)

Completed in 31 milliseconds